I have a cetificate chain in .pem format from Letsencrypt, called fullchain.pem
It has 2 certificates in the chain:
keytool -printcert -v -file fullchain.pem |grep "Certificate fingerprints" |wc -l
When I convert it to .der using
openssl x509 -in fullchain.pem -out cert.der -outform DER
it only exports the last one
keytool -printcert -v -file cert.der |grep "Certificate fingerprints" |wc -l
is this a bug in openssl? Am I missing a param?