This topic describes the procedure for obtaining test SSL (Secure Sockets Layer) certificates by using the OpenSSL commands.
Perform the following steps for obtaining test SSL certificates:
(Windows) Download and install open SSL on Windows.
(Linux) Download and install the open SSL package.
yum search openssl yum install apr-util-openssl.x86_64
Generate the SSL certificate by using the following command.
Note
Commands are same for Windows and Linux environments.
openssl req -x509 -sha256 -days <number of days for validation> -new -newkey rsa:2048 -nodes -out <Certificate Name>.pem -keyout <key Name>.pem
Certificate and private key files are generated in a .PEM format.
To convert the certificate and private key files to a .DER format, run the following commands.
openssl x509 -in <Certificate name>.pem -inform pem -out <Certificate Name.der> -outform DER changing key format. openssl pkcs8 -topk8 -nocrypt -in <Key Name>.pem -inform PEM -out <key Name>.der -outform DER
Note
BMC Release Process Management only accepts .DER format.