The difference is “auto private key” versus “RSA private key.”

> -----BEGIN PRIVATE KEY-----

This is a private key wrapped in a PKCS8 container with a key-type identifier.


root@Test-MCP:/usr/local/etc/HD-MCP/ssl/x # openssl rsa -inform pem -in 
test.key -outform der -out key.der
writing RSA key

This just writes the DER of the RSA key.  Different thing.

Try dumping the der files with asn1dump


-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to