exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 266 discussion

Actual exam question from Cisco's 350-901
Question #: 266
Topic #: 1
[All 350-901 Questions]

An application requires SSL certificates signed by an intermediate CA certificate. The .crt files must be available to the application:
• The root CA certificate is root_certificate.crt.
• The intermediate CA certificate is intermediate_certificate.crt.
• The application-specific SSL certificate is crl_certificate.crt.

Which Bash command outputs the certificate bundle as a .pem file?

  • A. cat intermediate_certificate.crt root_certificate.crt >
    certificate_bundle.pem
  • B. cat crl certificate.crt intermediate certificate.crt
    root certificate.crt > certificate bundle.pem
  • C. cat root certificate.crt intermediate certificate.crt
    crl certificate.crt > certificate bundle.pem
  • D. cat root certificate.crt intermediate certificate.crt >
    certificate bundle.pem
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
it0
Highly Voted 1 year, 9 months ago
crl and root are non existing files, so only answer A is correct syntax wise
upvoted 5 times
[Removed]
1 year, 8 months ago
Well I assume there's typos in the options, where underscore (_) is missing in those answers, but one should definitely keep an eye out if this question is asked at the exam.
upvoted 3 times
...
...
samael666
Most Recent 3 months ago
Selected Answer: B
have to be in that order
upvoted 1 times
...
donaldhn754
9 months, 4 weeks ago
B https://www.digicert.com/kb/ssl-support/pem-ssl-creation.htm
upvoted 2 times
...
mimimi
1 year ago
Selected Answer: B
Option B, here is the source, end of discussion! https://support.sectigo.com/PS_KnowledgeDetailPage?Id=kA03l00000117PB https://www.digicert.com/kb/ssl-support/pem-ssl-creation.htm
upvoted 2 times
...
johntermlen
1 year, 2 months ago
Selected Answer: C
Assuming typo : The other options are not correct. Option A, cat intermediate_certificate.crt root_certificate.crt > certificate_bundle.pem, will not create a valid .pem file. The intermediate CA certificate must come before the root CA certificate in the .pem file. Option B, cat crl certificate.crt intermediate certificate.crt root certificate.crt > certificate bundle.pem, will not create a valid .pem file. The CRL certificate is not required for the application to use the .pem file. Option D, cat root certificate.crt intermediate certificate.crt > certificate bundle.pem, will not create a valid .pem file. The crl certificate is missing from the .pem file.
upvoted 1 times
...
JCGO
1 year, 3 months ago
Answer is B, considering there is a typos and _ is missing. Order of certificates does matter. Server cert first, followed by intermediate and root. RFC: https://www.rfc-editor.org/rfc/rfc4346#section-7.4.2 Application certificate needs to be there 100%.
upvoted 4 times
...
i9t6
1 year, 4 months ago
Selected Answer: B
RFC 5246 7.4.2 Server Certificate certificate_list This is a sequence (chain) of certificates. The sender's certificate MUST come first in the list. Each following certificate MUST directly certify the one preceding it. Because certificate validation requires that root keys be distributed independently, the self-signed certificate that specifies the root certificate authority MAY be omitted from the chain, under the assumption that the remote end must already possess it in order to validate it in any case. The same message type and structure will be used for the client's response to a certificate request message. Note that a client MAY send no certificates if it does not have an appropriate certificate to send in response to the server's authentication request.
upvoted 3 times
...
whipmuffin
1 year, 4 months ago
Just in case is was asked in the exam, here is an output from Bing AI: You can use the following command to output the certificate bundle as a .pem file: ```bash cat root_certificate.crt intermediate_certificate.crt crl_certificate.crt > certificate_bundle.pem ``` This command concatenates the three .crt files into one .pem file. ¹²³ Source: Conversation with Bing, 5/30/2023(1) ssl - How to get .pem file from .key and .crt files? - Stack .... https://stackoverflow.com/questions/991758/how-to-get-pem-file-from-key-and-crt-files Accessed 5/30/2023. (2) Using `openssl` to display all certificates of a PEM file. https://unix.stackexchange.com/questions/696224/using-openssl-to-display-all-certificates-of-a-pem-file Accessed 5/30/2023. (3) How to create a .pem file for SSL Certificate Installations. https://www.suse.com/support/kb/doc/?id=000018152 Accessed 5/30/2023.
upvoted 2 times
whipmuffin
1 year, 4 months ago
Yes, you need all three .crt files to create the .pem file. The root CA certificate is root_certificate.crt, the intermediate CA certificate is intermediate_certificate.crt and the application-specific SSL certificate is crl_certificate.crt. ¹² I hope this helps! Source: Conversation with Bing, 5/30/2023(1) How to Create a .pem File for SSL Certificate Installations. https://www.digicert.com/kb/ssl-support/pem-ssl-creation.htm Accessed 5/30/2023. (2) ssl - How to get .pem file from .key and .crt files? - Stack .... https://stackoverflow.com/questions/991758/how-to-get-pem-file-from-key-and-crt-files Accessed 5/30/2023. (3) How to create a .pem file for SSL Certificate Installations. https://www.suse.com/support/kb/doc/?id=000018152 Accessed 5/30/2023.
upvoted 1 times
...
...
Alexissiox
1 year, 5 months ago
Selected Answer: A
You don't need to include the application certificate only intermediate and root - A is correct
upvoted 2 times
i9t6
1 year, 4 months ago
sure? RFC 5246 7.4.2 Server Certificate certificate_list This is a sequence (chain) of certificates. The sender's certificate MUST come first in the list. Each following certificate MUST directly certify the one preceding it. Because certificate validation requires that root keys be distributed independently, the self-signed certificate that specifies the root certificate authority MAY be omitted from the chain, under the assumption that the remote end must already possess it in order to validate it in any case. The same message type and structure will be used for the client's response to a certificate request message. Note that a client MAY send no certificates if it does not have an appropriate certificate to send in response to the server's authentication request.
upvoted 1 times
...
...
[Removed]
1 year, 9 months ago
I asked ChatGPT and it answered B. The Bash command cat is used to concatenate multiple files and output the result to a new file. In this case, the correct order to concatenate the files is: - crl_certificate.crt - intermediate_certificate.crt - root_certificate.crt then redirecting the output to certificate_bundle.pem. This will create the certificate bundle in the correct order, with the application-specific SSL certificate first, followed by the intermediate CA certificate and the root CA certificate. This order is important as the certificate bundle must be presented in the correct order for the SSL/TLS handshakes to be successful. The client must be able to build a chain of trust from the application-specific certificate to the root CA certificate.
upvoted 4 times
...
fb48
1 year, 9 months ago
CA-bundle is a file that contains root and intermediate certificates in the right order. The order must be: - Intermediate CA Certificate 2 - Intermediate CA Certificate 1 - Root CA Certificate But NOT your own server cert.
upvoted 3 times
fb48
1 year, 9 months ago
The answer is A
upvoted 1 times
...
lznlxl
1 year, 9 months ago
i think the answer should be B. https://www.ssl247.com/knowledge-base/detail/how-to-merge-or-concatenate-your-ssl-certificates-and-private-key-in-a-single-file/ka03l0000015BnIAAU/
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago