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, ∼7539🔥, 0💬
Popular Posts:
How to view the ASN.1 structure of an RSA private key using the OpenSSL "asn1parse" command? You can...
Certificate summary - Owner: *.vkontakte.ru, Domain Control Validated, *.vkontakte.ru Issuer: SERIAL...
How to use the "keytool -exportcert" command? I want to export a certificate out of a keystore file ...
What are "Hosted by GTI Group Corporation" Certificates? "Hosted by GTI Group Corporation" Certifica...
Can Microsoft "certutil" tool validates an expired certificates and reports the expired status? Yes....