Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2461)
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 (6619)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5332)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "pkey -pubout" - Extract DH Public Key
How to extract the public key from a DH key file using OpenSSL "pkey" command?
✍: FYIcenter.com
If you want to extract the public key out from a DH 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_dh.key -pubout -out my_dh_pub.key OpenSSL> exit C:\Users\fyicenter>type my_dh_pub.key -----BEGIN PUBLIC KEY----- MIIBHzCBlQYJKoZIhvcNAQMBMIGHAoGBALzizRYfhhdc1miJMXG88tKCCdLOSIG7 G2Fsh27ec41AP+pExiT781P/JjnLmy85Niy9OhTZDkiSnAqNiWO+DC/3elIKjHfx QgBMMd+57MCduH9MEOVEQKb/drJkPFeCBShJlM+KyoNCpLfV0Tu/icb/KTQAUdiQ A0cehBtTNmwzAgECA4GEAAKBgCoDjDV/cvxDi0PC9h8iiqD+i5gzQNnoe3jd77RK HW2pZ39jDvYEGtfgWsg8TAw2vyNCKZcxP3ho2BRMF4X7J7PTwijMFMHQbcGzyY1R WmcCO4UfkRYVN65NtiA3zmu7hBaiIYF4VgpoFcOlUcsUlNceaRS6zc5ua0GGNMpA DThf -----END PUBLIC KEY-----
Options used in this command are:
⇒ OpenSSL "pkey -pubin" - View DH Public Key
⇐ OpenSSL "pkey -text" - Print DH Key in Text
2017-08-25, 2105🔥, 0💬
Popular Posts:
Certificate summary - Owner: *.disqus.com, Domain Control Validated - RapidSSL(R), See www.rapidssl....
Certificate summary - Owner: *.digg.com, Website, "News.Me, Inc", L=New York, ST=New York, US, SERIA...
How can I use Microsoft "certutil -delstore" command? What are command options supported by "certuti...
How to decode a Public or Private Key and view its content? To help you to decode a Public or Privat...
Certificate summary - Owner: *.depositfiles.com, COMODO SSL Wildcard, Domain Control Validated Issue...