Sunday, May 14, 2023
HomeSoftware EngineeringThe right way to Take away a Passphrase from Certificates Key

The right way to Take away a Passphrase from Certificates Key


When you’ve got a Certificates Key that features a Passphrase and it is advisable take away it, probably to make use of it with AWS App Mesh, then you are able to do the next:

The right way to Take away a Passphrase utilizing OpenSSL

  1. Find the Personal Key
  2. Run the next command:
    open ssl rsa -in <authentic.key> -out <new.key>
  3. Enter the unique passphrase for the present key
  4. The output file <new.key> will now be unencrypted

The right way to Confirm if the Passphrase has been eliminated

Open the file in a textual content editor and test the headers.

-----BEGIN RSA PRIVATE KEY-----
Proc-Sort: 4,ENCRYPTED DEK-Data: DES-EDE3-CBC,

ABC407785DD18XXX...
-----END RSA PRIVATE KEY-----
-----BEGIN RSA PRIVATE KEY-----
ABC407785DD18XXX...
-----END RSA PRIVATE KEY-----
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments