Generating a Self-Signed Certificate

Procedure to generate a self-signed certificate (cert.pem) from a certificate request file (cert.csr).

Perform the following steps:

  1. Create a Certificate Signing Request (cert.csr).
  2. Create a certificate file (cert.pem) from your private key (nopwdkey.pem) and certificate request file (cert.csr) using the following command (valid for 365 days):
    openssl x509 -in cert.csr -out cert.pem -req -signkey nopwdkey.pem -days 365
    Important: The following steps explain how to combine the private key file with the signed certificate file for convenience in later configuration steps. If you prefer, you can use them separately and skip the following steps.
    Note: You can use a key pair generated for BigFix Inventory and License Metric Tool also for Web Reports only if the private key is not password protected.
  3. Open up your private key file nopwdkey.pem in Notepad++, or another text editor.
  4. Copy the contents and paste them below the certificate in cert.pem, as in the following example:
    -----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
    -----BEGIN RSA PRIVATE KEY-----
    ...
    -----END RSA PRIVATE KEY-----
    where ... represents any text.
  5. Refer to cert.pem on your Web Reports server in the certificate path registry setting as described in Customizing HTTPS on Web Reports.