How to get rsa-private key in plain text format?

Billy Brumley bbrumley at gmail.com
Fri Sep 3 13:49:13 UTC 2021


> > Hello,
> > Is there any command-line tool to get the plain text rsa private key
> > like the following format from .pem file?
>
> openssl rsa -in mykey.pem -noout -text

It would in fact be much more educational to advocate pkey, which is
cryptosystem agnostic

openssl pkey -in mykey.pem -noout -text

Since I would expect the rsa command to go the same was as the rsautl
command in the future.

Happy Friday!

BBB


More information about the openssl-users mailing list