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, ∼2765🔥, 0💬
Popular Posts:
Certificate summary - Owner: VeriSign Class 3 Public Primary Certification Authority - G5, "(c) 2006...
How to view the ASN.1 structure of an DH private key using the OpenSSL "asn1parse" command? You can ...
Certificate summary - Owner: www.snapdeal.com, IT, Jasper Infotech Pvt. Ltd., L=New Delhi, ST=Delhi,...
How to search and export a certificate from a certificate store into a certificate file with Microso...
Detailed information of 'keyfree': RSA 2048-Bit Private Key - ea83cc61246f544743c36302 6b5731cf.