Collections:

Other Resources:

OpenSSL "genrsa -des" - DES Encrypt RSA Keys

Q

How to generate a new RSA key pair and encrypt the output with a DES password using OpenSSL "genrsa" command?

✍: FYIcenter.com

A

If you want to secure your new RSA private key with a DES encryption, you can use the OpenSSL "genrsa -des" command as shown below:

C:\Users\fyicenter>\local\openssl\openssl OpenSSL> genrsa -out my_rsa_des.key -des Generating RSA private key, 2048 bit long modulus .......................+++ .........+++ e is 65537 (0x10001) Enter pass phrase for my_rsa_des.key: fyicenter Verifying - Enter pass phrase for my_rsa_des.key: fyicenter

Options used in this command are:

- "-out my_rsa_des.key" - Save output (the new RSA private and public key) in a file.
- "-des" - Encrypt the output with DES algorithm.
- "fyicenter" - The password of the DES encryption.

**⇒** OpenSSL "rsa" - Open Encrypted RSA Keys

**⇐** OpenSSL "genrsa 10240" - Generate RSA Long Keys

2017-01-14, 5402🔥, 0💬

Popular Posts:

Certificate summary - Owner: *.homestead.com, COMODO SSL Wildcard, Domain Control Validated Issuer: ...

Certificate summary - Owner: *.domaintools.com, Domain Control Validated - RapidSSL(R), See www.rapi...

Certificate Summary: Subject: GlobalSign ECC OV SSL CA 2018 Issuer: GlobalSign Expiration: 2028-11-2...

How to encrypt a large file with an RSA public key using OpenSSL "rsautl" command? If you are trying...

Where to find tutorials on managing certificate in Internet Explorer (IE)? I want to learn how IE st...