Configuring SSL for Linux Platform Manager
- Download OpenSSL.
See this website to obtain a tar file for OpenSSL. - Copy the installation package to the location where you want to install OpenSSL, and run the following command to unpack the tar file:
tar -xf openssl-0.9.8c.tar.gz - Cd to the directory where OpenSSL is installed and create the following directories. All directories should provide read, write, and execute permissions.
- demoCA
- demoCA/certs
- demoCA/crl
- demoCA/newcerts
- demoCA/private
- Run the following commands to copy files between directories:
cp apps/demoCA/index.txt demoCA/index.txt
cp apps/demoCA/serial demoCA/serial In the /etc/pki/tls/openssl.conf file, edit the CA_default section so it identifies the location of /demo directory.
[ CA_default ]
dir = <openssl_install_dir>/demoCA # Where everything is kept
Generating a CA certificate
- Cd to the OpenSSL directory. For example: openssl-0.9.8c.
- Enter the following command:
openssl req -new -x509 -days 365 -keyout cakey.pem -out cacert.pem
The system prompts you for a pass phrase. - Enter a pass phrase. When prompted, repeat the pass phrase to confirm your entry.
- When prompted, provide the requested information or enter a dot to leave the field blank. When prompted for a common name, enter the host name or IP address of the Linux Platform Manager host.
OpenSSL generates a cakey.pem and a cacert.pem file in your current directory.
Generating an SSL certificate request
- Cd to the OpenSSL directory. For example: openssl-0.9.8c
- Enter the following command:
openssl req -new -nodes -out req.pem -keyout reqkey.pem
The system prompts you for a pass phrase. - Enter a pass phrase. When prompted, repeat the pass phrase to confirm your entry.
- When prompted for additional information, provide the requested information or enter a dot to leave the field blank. When prompted for a common name, enter the host name or IP address of the Linux Platform Manager host.
OpenSSL generates a req.pem and a reqkey.pem file in your current directory.
Generating a signed SSL certificate
- From your current directory, run the following commands to copy files:
cp cakey.pem openssl-0.9.8c/apps/demoCA/private/.
cp cacert.pem openssl-0.9.8c/apps/demoCA/private/. - Enter the following command:
openssl ca -out cert.pem -infiles req.pem
The system prompts you for a pass phrase.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*