Collections:
Other Resources:
OpenSSL "pkey -pubout" - Extract RSA Public Key
How to extract the public key from an RSA key file using OpenSSL "pkey" command?
✍: FYIcenter.com
If you want to extract the public key out from an RSA key file (private key an public key),
you can use the OpenSSL "pkey -pubout" command as shown below:
C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> pkey -in my_rsa.key -pubout -out my_rsa_pub.key OpenSSL> exit C:\Users\fyicenter>type my_rsa_pub.key -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAExMAY742YWBAnv+3NTAI+cUR lQQsszJtWO+tz2wryoe0XbD3x0tm5tByOjcZ7Hbp7QlaURf2Xmk3aN02UCOQGPG8 G4uIcK+2vCcIdiTCwL2DujkxYg5u5gAtgQCTrNBqJiGnGDEoNJaxAvR/PkqFM8D2 vvoat6ixisha/631UQIDAQAB -----END PUBLIC KEY-----
Options used in this command are:
⇒ OpenSSL "pkey -pubin" - View RSA Public Key
⇐ OpenSSL "pkey -text" - Print RSA Key in Text
2018-01-16, ∼2167🔥, 0💬
Popular Posts:
Certificate Summary: Subject: Equifax Secure eBusiness CA-1 Issuer: Equifax Secure eBusiness CA-1 Ex...
Certificate Summary: Subject: Cybertrust Public SureServer SV CA Issuer: Baltimore CyberTrust Root E...
Certificate summary - Owner: *.mac.com, Apple Inc., L=Cupertino, ST=California, US Issuer: Entrust C...
Certificate Summary: Subject: QuoVadis Global SSL ICA G3 Issuer: QuoVadis Root CA 2 G3 Expiration: 2...
Certificate summary - Owner: *.friendfeed.com, "Facebook, Inc.", L=Palo Alto, ST=CA, US Issuer: Digi...