Before you generate self-signed certificates, complete the following tasks:
Download and install the OpenSSL toolkit. Add the directory to the PATH environment variable.
Create a directory where you want to generate the keys and certificates. Change directories to that location.
Create a configuration file called
openssl.cnf
and depending on the OS, configure it as shown in the topics "OpenSSL Configuration File for UNIX" or "OpenSSL Configuration File for Microsoft Windows." Set the variable OPENSSL_CONF with the following command:
On UNIX:
export OPENSSL_CONF=<full path of openssl.cnf_file>
On Microsoft Windows:
Set OPENSSL_CONF=< full path of openssl.cnf_file >
Set the RANDFILE parameter with the following command: