Encrypting a Private Key Password

You can use the createPwd.exe utility to encrypt a password for a private key, and save the password in a password file.

Prerequisites

Generate a certificate request file and a password file to save the encrypted password. For more instructions, see Generating a Certificate Request.

Procedure

  1. On the command line, navigate to the $CFROOT/util directory.
  2. Enter ./createPwd.exe.
  3. Enter the password and a full path to the file where you want to place the encrypted password.

Result

After running the createPwd.exe utility, the private key password is encrypted and stored in the password file.

Example

The following example shows how to encrypt an SSL private key password.
-bash-3.00$ ./createPwd.exe 
 
Please enter your Password (Max: 20 characters)...

Please Reenter your Password to Confirm ...

Please specify a Path and File Name for the encrypted password to be saved in...
/mftps/certs/passwordfile
Thank you......
Your encrypted Password has been saved in:  /mftps/certs/passwordfile