Hi OpenSSL users,

Greetings from me! By default openssl-x509 can only dump one
certificate from the file:

# openssl x509 --in /etc/ssl/cacert.pem --text --noout
        Version: 3 (0x2)
        Serial Number:
        Signature Algorithm: sha256WithRSAEncryption

I checked the code
it seems openssl-x509 only dumps the first valid one. I also went
through the manual
(https://www.openssl.org/docs/man1.1.1/man1/openssl-x509.html), and
can't find a method to dump all certificates.

Could anyone give some clues in dumping all certificates from a file?
Thanks very much in advance!

Best Regards
Nan Xiao

Reply via email to