Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (867)
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 (3101)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2498)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "pkey -pubout" - Extract EC Public Key
How to extract the public key from a EC key file using OpenSSL "pkey" command?
✍: FYIcenter.com
If you want to extract the public key out from a EC 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_ec.key -pubout -out my_ec_pub.key OpenSSL> exit C:\Users\fyicenter>type my_ec_pub.key -----BEGIN PUBLIC KEY----- MIG6MIGXBgcqhkjOPQIBMIGLAgEBMBoGByqGSM49AQECDwDbfCq/YuNeZoB2vq0g izA3BA7bfCq/YuNeZoB2vq0giAQOZZ74ugQ5Fu7eiRFwKyIDFQAA9QsCjk1pbmdo dWFRdSkEcng/sQQdBAlIcjmZWl7na1X5wvCYqJzlr4ckwKI+Dg/3dQACDwDbfCq/ YuNedijfrGVhxQIBAQMeAATKt2umhaULWqO58OmQMLMsCykE4cor/fRTiA2d -----END PUBLIC KEY-----
Options used in this command are:
⇒ OpenSSL "pkey -pubin" - View EC Public Key
⇐ OpenSSL "pkey -text" - Print EC Key in Text
2017-07-03, 3026👍, 0💬
Popular Posts:
After signing for the Root and Intermediate CA. when i try to sign a server_cert the following error...
Certificate Summary: Subject: CLASS 2 KEYNECTIS CA Issuer: Class 2 Primary CA Expiration: 2019-07-06...
How to import a certificate as a user-level trusted certificate using Java Control Panel on Mac comp...
Certificate summary - Owner: www.gmx.net, GMX, 1&1 Mail & Media GmbH, L=Montabaur, ST=Rhinel...
Certificate Summary: Subject: GTE CyberTrust Root 5 Issuer: GTE CyberTrust Root 5 Expiration: 2013-0...