Collections:
Other Resources:
OpenSSL "rsa -pubout" - Extract RSA Public Key
How to extract the public key from an RSA key file using OpenSSL "rsa" 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 "rsa -pubout" command as shown below:
C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> rsa -in my_rsa.key -pubout -out my_rsa_pub.key writing RSA key OpenSSL> exit C:\Users\fyicenter>type my_rsa_pub.key -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx1SQU1GfsBNB6XU2nqrw IHm1ImXPAcsInQNfhFcpzpku3Kmm0LpDZF1oqkqLNLlh0qVIIlfuMNnVNLAozbUb aJalFUdSGPAVl7jFRZxpDai+d4U2we14MO3kTwy7H3ZeRKzWklL2FCeKo2c20gzF OfxdePwSx9lBT7efFNc5NHRPdPbP/e1Zx1VqB8wAKTgRwafQmFfYUbbk2Cc5ftZ8 yhWc43+2qWzhWm6Ig8knbapPLMPw6bFzwD+ck+6d7zbCG++NrBuXH858iDJfzLgr wic7fW0cRiF+yBpiTmAw6G9HH0CQu8HNBgMfXZIuYjZER4MObmqSGiRTyN9mEFtS WwIDAQAB -----END PUBLIC KEY-----
Options used in this command are:
⇒ OpenSSL "rsa -pubin" - View RSA Public Key
⇐ OpenSSL "rsa -text" - Print RSA Key in Text
2017-02-03, ≈11🔥, 0💬
Popular Posts:
How to download Mozilla "certutil" tool for Windows? I know it can be used to manage cert8.gb and ke...
How to import a CA (Certificate Authority) reply into a keystore key pair entry with Portecle? To im...
Certificate summary - Owner: DigiCert High Assurance EV CA-1, www.digicert.com, DigiCert Inc, US Iss...
What are the ways to use certificate for encryption? Can certificates be used to secure data submitt...
Certificate Summary: Subject: GeoTrust Primary Certification Authority - G2 Issuer: GeoTrust Primary...