Generate Certificates and Private Keys
Generate the CA, server, and client certificate and private key sets required for OpenConfig streaming telemetry configuration.
Note | To ensure that you generate certificates using the same CA, run the following commands together and from the same endpoint. If you want to retry the commands, you must retry all commands. |
Before you begin
Procedure
Step 1 | Make a folder, for example Example:
| ||
Step 2 | Create a self-signed CA certificate with a corresponding private key. Example:
The subject information includes the provided Country (C), State (ST), Locality (L), Organization (O), Organizational Unit (OU), Common Name (CN), and email address. The private key is saved as | ||
Step 3 | Create a self-signed server certificate with the specified Common Name (CN) and Subject Alternative Name (SAN): Example:
The The The You have to upload the | ||
Step 4 | Create client certificate with the specified Common Name (CN) and Subject Alternative Name (SAN). Example:
The gNMI client uses the client certificate | ||
Step 5 | (Optional) For dial-out mode, create the tunnel server certificate with the specified Common Name (CN) and Subject Alternative Name (SAN). Example:
|