Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2389)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (6528)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5269)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
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, 1593👍, 0💬
Popular Posts:
Certificate summary - Owner: user.hao123.com, service operation department, "BeiJing Baidu Netcom Sc...
How to export a keystore entry with Portecle? To export a keystore entry: Right-click on the keystor...
How to export the Website certificate to a file from Apple Safari? I can view the certificate used b...
Certificate Summary: Subject: *.usps.com Issuer: Cybertrust Public SureServer SV CA Expiration: 2014...
The role of digital certificates is growing rapidly on individual computers and networks and across ...