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, ∼7815🔥, 0💬
Popular Posts:
Can I use my own configuration file when running "req" command? Yes, you can specify your own config...
What is PKCS (Public-Key Cryptography Standards) #12? What is it used for? PKCS #12 defines an archi...
Public Key Summary: Key Identifier: E5:9D:59:30:82:47:58:CC: AC:FA:08:54:36:86:7B:3A: B5:04:4D:F0Name...
Certificate summary - Owner: *.twoo.com, Massive Media, L=Oost-Vlaanderen, ST=Oost-Vlaanderen, BE Is...
Certificate summary - Owner: VeriSign Class 3 Public Primary Certification Authority - G5, "(c) 2006...