openssl: Show all certificates of a certificate bundle file


the x509 option of openssl does only use the first certificate in a file.

To show all certificates in a bundle file use the crl2pkcs7 option. This is usually used to pack a crl and a bundle of certificates in a pkcs7 container but the crl can be omitted and a list of certificates in a pkcs7 container is created. This list could be shown with the pkcs7 option.

michael@debdev ~ # openssl crl2pkcs7 -nocrl -certfile myCertificateBundle.pem | openssl pkcs7 -print_certs -text -noout


Advertisment to support

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.