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.
Before you begin
Generate a certificate request file and a password file to save the encrypted password. For more instructions, see Generating a Certificate Request.
- Procedure
- On the command line, navigate to the $CFROOT/util directory.
- Enter
./createPwd.exe
. - Enter the password and a full path to the file where you want to place the encrypted password.
ResultAfter running the
createPwd.exe file, the private key password is encrypted and stored in the password file.
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
Subtopics