I have question regarding DER chain (root and intermediate) certificate. I've generated root and intermediate certificates with openSSL according to https://jamielinux.com/docs/openssl-certificate-authority/create-the-intermediate-pair.html. As a result i've got:
root certificate (ca4096.cert.pem)
and intermediate certificate (intermediate4096.cert.pem) that is signed through root authority.
I used cat command to combine them into certificate chain ca-chain4k4k.cert.pem.
Then with openssl command:
openssl x509 -outform der -in certificate.pem -out certificate.der
i converted intermediate4096.cert.pem and ca-chain4k4k.cert.pem into corresponding .der certificates. Both resulting files are binary equal.
Is it right so?
If yes could you explain me, why root certificate information is not needed?
If no, what mistake do i make? How can i attach root certificate information in the .der chain certificate.
I use OpenSSL 1.0.1t