Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (71)
EC Keys (1854)
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 (5378)
Revoked Certificates (16)
Root CA (85)
RSA Keys (4391)
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, 4998👍, 0💬
Popular Posts:
Certificate Summary: Subject: thawte EV SSL CA - G3 Issuer: thawte Primary Root CA Expiration: 2023-...
Certificate summary - Owner: *.constantcontact.com, "Constant Contact, Inc.", L=Waltham, ST=Massachu...
How to specify those intermediate CA certificates that form the signing chain for the server certifi...
What can I use OpenSSL "ans1parse" command for? What are options supported by the "ans1parse" comman...
Certificate summary - Owner: *.blackboard.com, Managed Hosting, Blackboard Inc, L=Washington, ST=Dis...