Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2389)
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 (6528)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5270)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "pkey -pubout" - Extract DSA Public Key
How to extract the public key from a DSA key file using OpenSSL "pkey" command?
✍: FYIcenter.com
If you want to extract the public key out from a DSA 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_dsa.key -pubout -out my_dsa_pub.key OpenSSL> exit C:\Users\fyicenter>type my_dsa_pub.key -----BEGIN PUBLIC KEY----- MIIBuDCCASwGByqGSM44BAEwggEfAoGBAJ4vZpJ9H6iJR/UU1gJbHTR6in8oa4vX 1Vdvj/V53Q1U2lS0VdkAZyZQiWfO9QTO5oM0Y4S7DtTX3UIiuSuKVWMD55piWuTg Demf4ZsVAdxcQ6RKCYSwiO0o3O+7RwX2aEzb/KaMqphoHtwRPWhxp5Mbz9kzDD9T +xQAzsfsuhGVAhUA1kA8zoR9/NuIDs07OdP76UX3UnkCgYEAmB2kVCBqooudn/zU 0dFeXY8RD2OoobKbvdnFeyl8qG3BskLp+1qzHEVT9zI8+6DmJnSxcxyjuT+/ZO1J nUSX9GNPfWwA4khntera6cLe8qm3fJiWRdsen5XZFFYqvj8A6e5x6qdVCehLGc1Z Ln0ewTtLDYYpTM/QqFYI7XxKDaEDgYUAAoGBAIz2+quiks5FX2HL7Y0spxeHkF2F Et/F3tF3fK54fyXz7GtEpqfaLYuEkyxCToa1npG/Ve5Dd5GKrBqzu8oaFRW9bxkJ +lHVQYX6DR0GCzYw/8OCD4fk4C+S+rh7qrJCOQTrK2/HdUPoxvY/YrkwtXV7vNTY gKhuq0lF2N53xWV6 -----END PUBLIC KEY-----
Options used in this command are:
⇒ OpenSSL "pkey -pubin" - View DSA Public Key
⇐ OpenSSL "pkey -text" - Print DSA Key in Text
2017-10-23, 1414👍, 0💬
Popular Posts:
How to import a certificate from a certificate file into a certificate store with Microsoft "certuti...
How can I use Microsoft "certutil -delstore" command? What are command options supported by "certuti...
Certificate summary - Owner: ssl6307.cloudflare.com, "CloudFlare, Inc.", L=San Francisco, ST=CA, US ...
Certificate summary - Owner: adf.ly, Domain Control Validated, adf.ly Issuer: SERIALNUMBER=07969287,.. .
How to examine a CSR (Certificate Signing Request) file with Portecle? To examine a CSR file: From t...