300-415 · Question #448
A company using Catalyst SD-WAN Manager as its root certificate authority server must generate a root certificate using the vShell (Linux) built into the CLI of Catalyst SD-WAN Manager. Which…
The correct answer is D. openssl req -x509 -new-nodes -key XYZ.key -sha256 -days 365 \subj "/C=US/ST=DC/L=DC/O=Cisco/CN=device. To generate a self-signed root certificate for the SD-WAN Manager using openssl in vShell, the openssl req -x509 command is required.
Question
Exhibit
Options
- Aopenssl genrsa -out ROOTCA.pem 2048
- Bopenssl req -x509 -new-nodes -key XYZ.pem -sha256 -days 365 \subj "/C=US/ST=DC/L=DC/O=Cisco/OU=device lab" -out ABC.key
- Copenssl genrsa -out ROOTCA.key 2048
- Dopenssl req -x509 -new-nodes -key XYZ.key -sha256 -days 365 \subj "/C=US/ST=DC/L=DC/O=Cisco/CN=device.
How the community answered
(49 responses)- A4% (2)
- B14% (7)
- C4% (2)
- D78% (38)
Why each option
To generate a self-signed root certificate for the SD-WAN Manager using `openssl` in vShell, the `openssl req -x509` command is required.
This command `openssl genrsa` only generates an RSA private key and does not create a certificate.
While `openssl req -x509` generates a certificate, the `-key XYZ.pem` option assumes a private key already exists and the output `ABC.key` is an unusual naming convention for a certificate, whereas the question asks to generate a root certificate (implying both key and cert).
Similar to choice A, this command `openssl genrsa` only generates an RSA private key and does not create a certificate.
The `openssl req -x509` command is specifically used to generate a self-signed certificate, which is necessary for a root Certificate Authority. The `-new-nodes` option generates a new private key, saving it to `XYZ.key`, and then uses this key to create the root certificate with the specified subject details and validity.
Concept tested: OpenSSL command for self-signed certificate generation
Source: https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/sdwan-xe-cr-book/cert-mgmt.html
Topics
Community Discussion
No community discussion yet for this question.
