Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


3.3.6 sslpasswd

The sslpasswd command creates a password file for the password-protected server private key.

Synopsis

sslpasswd server-private-key-file-name password-file-name

Storage location

Application Server installation directory\httpsd\sbin

Function

Before using the password-protected server private key, you can save the password in a file and then set the directive, so that you do not have to enter the password when the Web server starts. The procedure is described below.

If you want to use a password-protected server private key on a Windows Web server, you must perform this procedure.

  1. Use the hwskeygen command to create a password-protected server private key.

  2. Use the sslpasswd command to create a password file.

  3. In httpsd.conf, set both the SSLCertificateKeyPassword directive that specifies the created password file and the SSLCertificateKeyFile directive that specifies the server private file.

  4. Start or restart the Web server.

Be careful not to reveal the contents of the password file. To prohibit access from other users, set directory permissions or file permissions for both the directory that stores the server private key and the directory that stores the password file.

Execution permission

Administrator account

Arguments

server-private-key-file-name

Specify the password-protected server private key.

Password-file-name

Specify the name of the file that outputs the password file.

Examples

sslpasswd httpsdkey.pem .keypasswd

Exit Status

Exit Status

Explanation

0

The command terminated normally.

Other than 0

The command terminated abnormally.

Notes