How to remove a private key password using OpenSSL

openssl remove password

Problem

How to remove a private key password using OpenSSL

Solution

In some circumstances there may be a need to have the certificate private key unencrypted.

To remove the private key password follow this procedure:

1. Copy the private key file into your OpenSSL directory (or you can specify the path in the command line).
2. openssl rsa -in [file1.key] -out [file2.key]