Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 233
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?
Answer options
- 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
Correct answer: B
Explanation
The correct answer is B because it correctly combines all necessary certificates (the application-specific SSL certificate and the required CA certificates) into a single .pem file. Options A, C, and D are incorrect as they either omit the crl_certificate.crt or do not maintain the correct order of certificates required for the application.