Set up SSL for OmniPage Licensing Agent

You can use a certificate to add SSL to your OPLA website.

If you need an SSL connection to your OPLA website, do the following.

  1. Run the following command to create a self-signed SSL certificate, then answer the questions asked by OpenSSL.
    openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out example.crt -keyout example.key
  2. Run the following command to convert the SSL certificate to PFX format, and provide a password.
    openssl pkcs12 -export -out cert.pfx -inkey example.key -in example.crt
  3. Edit the /usr/local/lib/omnipage-licensing-agent-1.2/appsettings.json configuration file as follows:.

    • Set the port number for the HTTPS communication.

      "SSLWebPort": 5001

      Setting the port number disables unencrypted HTTP communication.

    • Set the path for the PFX file created in step 2.

      "SSLPfx": "<PathToPfxFile>"

    • Set the same password you provided in step 2.

      "SSLPassword": "<Password>"

  4. Restart the service.
    opla service -restart