Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2458)
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 (6617)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5331)
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, 6202👍, 0💬
Popular Posts:
Where to find answers to frequently asked questions about CSR (Certificate Signing Request) with Por...
What is PKCS (Public-Key Cryptography Standards) #12? What is it used for? PKCS #12 defines an archi...
What is the file name is used by Firefox to store CA certificates on Windows 7 systems? Where this f...
Certificate Summary: Subject: *.tmall.com Issuer: GlobalSign Organization Validation CA - G2 Expirat...
What is Certificate provider in Windows PowerShell? The Certificate provider is part of the Windows ...