Why does PEM Base64 created by `openssl pkey` not match the DER file passed in?

In experimenting with openssl on the Linux command line with elliptic curve secp256k1 I encountered a strange situation where on converting a DER private key file to PEM format using openssl pkey the Base64 in the PEM file does not match t… Continue reading Why does PEM Base64 created by `openssl pkey` not match the DER file passed in?

How to add subject alternative name when converting PEM certificate to DER format?

Is it possible to add a subject alternative name when converting PEM certificate to DER format.

openssl x509 -outform der -in Certificate.pem -out Certificate.der -extensions SAN -subject-alternative-name ‘alternative name’

If possible,… Continue reading How to add subject alternative name when converting PEM certificate to DER format?