Let's pretend we create a passphrase protected PEM file using openssl
:
$ openssl genrsa -aes256 -passout pass:password -out sample.pem 2048
And then extract the private key in DER format:
$ openssl rsa -in sample.pem -out sample.prv.der -outform DER
Is sample.prv.der
still encrypted using the passphrase?