Categories:
DH Keys (39)
DSA Keys (69)
EC Keys (336)
Firefox (32)
General (13)
Google Chrome (25)
Intermediate CA (152)
Java VM (20)
JDK Keytool (25)
Microsoft CertUtil (26)
Mozilla CertUtil (18)
OpenSSL (237)
Other (17)
Portecle (38)
Publishers (1966)
Revoked Certificates (30)
Root CA (87)
RSA Keys (1819)
Tools (47)
Tutorial (7)
What Is (21)
Windows (129)
Collections:
Other Resources:
OpenSSL "pkey -aes*" - Re-Encrypt DH Keys
How to re-encrypt a DH key file using OpenSSL "pkey" command? I want to change the encryption password, and maybe change the encryption algorithm.
✍: FYIcenter.com
If you want to encrypt an existing DH key file again,
you can use the "pkey -aes*" command as shown below:
C:\Users\fyicenter>\local\openssl\openssl OpenSSL> pkey -in my_dh_des.key -aes128 -out my_dh_aes.key Enter pass phrase for my_dh_des.key: fyicenter Enter PEM pass phrase: fyicenter.com Verifying - Enter PEM pass phrase: fyicenter.com
Options used in this command are:
⇒ OpenSSL "genpkey" Command for EC Keys
⇐ OpenSSL "pkey" - Open Encrypted DH Keys
2017-08-13, 1213👍, 0💬
Popular Posts:
How to export a certificates from a system certificate store using "certmgr.exe" tool? You can expor...
Certificate Summary: Subject: StartCom Certification Authority Issuer: StartCom Certification Author...
What is ASN.1 BIT STRING field type? How to specify BIT STRING field type in OpenSSL "asn1parse" com...
Certificate Summary: Subject: Thawte Server CA Issuer: Thawte Server CA Expiration: 2021-01-01 23:59...
Certificate Summary: Subject: Certum CA Issuer: Certum CA Expiration: 2027-06-11 10:46:39 UTC Key Id...