What is a passphrase and how can i change the passphrase on my private key file?

A passphrase is a word or phrase that protects private key files.
It prevents unauthorized users from encrypting them.
Usually it's just the secret encryption/decryption key used for Ciphers.

To change the passphrase you simply have to read it with the old pass-phrase and write it again, specifying the new pass-phrase.
You can accomplish this with the following commands:

$ openssl rsa -des3 -in myserver.key -out server.key.new
$ mv server.key.new myserver.key

The first time you're asked for a PEM pass-phrase, you should enter the old pass-phrase.
After that, you'll be asked again to enter a pass-phrase - this time, use the new pass-phrase.
If you are asked to verify the pass-phrase, you'll need to enter the new pass-phrase a second time.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What does the Warranty actually mean?

We believe it is important to protect the end user. If we were to issue a certificate in error to...

Why does the secure part of the website say the name on the security certificate is invalid or does not match the name of the site?

There are a few possible reasons for this:1) The certificate has a Common Name (CN) of...

The CSR cannot be decoded or is invalid

CSR is possibly missing one or more required fields.The CSR must contain a minimum of the...

I have accidentally deleted or lost my Private Key

First check your backups and see if you can re-install the "private key". If you don't know how...

I have changed my server, or moved to a different provider, how do I move the certificate?

If you are moving servers or providers, you will need to get the certificate and private key from...