User Tools

Site Tools


howtos:decrypt_a_private_key

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:decrypt_a_private_key [d/m/Y H:i] (current)
Line 1: Line 1:
 +If you have a private key which is encrypted (meaning that you must enter a pass phrase to use it), you can decrypt the private key for use without a password. A typical openssl command and resulting interactive session is shown here:
 +
 +    > openssl rsa -in hostkeySECURE.pem -out hostkeyNOPASSWORD.pem
 +    Enter pass phrase for hostkeySECURE.pem:​
 +    writing RSA key
 +    >
 +
 +Here's an explanation of the command line options:
 +
 +    * -in hostkeySECURE.pem - read in the encrypted private key from the file hostkeySECURE.pem.
 +    * -out hostkeyNOPASSWORD.pem - write out the unencrypted private key to the file hostkeyNOPASSWORD.pem.
 +
 +
 +
 +
  
howtos/decrypt_a_private_key.txt · Last modified: d/m/Y H:i (external edit)