For Pegasus to run in Secure Sockets Layer (SSL) mode, a private key and certificate are required. Pegasus checks for its private key and certificate during startup. If those files do not exist, Pegasus creates its private key and a self-signed 365-day certificate. You can also create a private key and certificate with this information.
The private key and certificate are stored in paths that are defined by the sslKeyFilePath and sslCertificateFilePath configuration properties of the cimconfig command. You can create your own certificate and private key in these paths. Otherwise, if either the certificate or private key does not exist in these paths, then the CIM Server will create its own certificate and private key. The CIM server creates its certificate with the following attributes for the subject name:
State or Province Name: Minnesota Locality: Rochester Organization Name: IBM Organizational Unit: iSeries Common Name: hostname of system Email Address:
Pegasus allows the OpenSSL default for its initialization (seeding) of the pseudo random number generator (PRNG). Pegasus calls the SSL_library_init application programming interface (API) which calls the i5/OS™ Qc3GenPrns API (Generate Pseudorandom Numbers). Pegasus on i5/OS will not support seeding the PRNG from a file.
One method to create a certificate and private key for Pegasus is to use the Digital Certificate Manager (DCM) on i5/OS.
DCM allows you to create a Pegasus server certificate that is issued by a local Certificate Authority (CA) on the i5/OS system, or by an external Certificate Authority.
Note that Pegasus is not integrated with DCM. You must export all certificates that are created in DCM to Pegasus. Pegasus only supports the PEM format for certificates.
To create a private key and certificate, do the following steps: