On Thu, 7 Nov 2013, Dr. Stephen Henson wrote:
On Thu, Nov 07, 2013, Dimitrios Apostolou wrote:
how can I read the details of a public key written by
PEM_write_RSAPublicKey()? I have tried all the "openssl pkey" and
"openssl rsa" combinations without much success, unfortunately.
If possible you should use PEM_write_RSA_PUBKEY instead.
Otherwise for OpenSSL 1.0.0 and later you can use the (currently undocumented:
about to fix that) -RSAPublicKey_in option.
It works:
openssl rsa -in $FILENAME -pubin -RSAPublicKey_in -text
Dear Steve, you're a lifesaver. Thanks!
Dimitris
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org