2.5. Using a SSL Certificate

The usage of a SSL certificate is controled by the configuration option http_ssl_certificate. LiveConfig acts this way:

  • If http_ssl_certificate if commented but at least one HTTPS port is configured, LiveConfig creates a temporary, self-signed SSL certificate on each start.

  • If http_ssl_certificate is defined but the named file doesn't yet exist, then LiveConfig creates a self-signed certificate and writes it into this file (this way you don't have to accept the temporary certificate on each web browser restart).

  • If http_ssl_certificate is defined and the named file exists, then the SSL certificate and the accompanying private key is read from this file.

The certificate file must contain the following data PEM encoded in the following order:

  1. the private key for the SSL certificate (without password protection)

  2. the SSL certificate itself

  3. eventual intermediate (chained) certificates if provided by the certificate issuer

Please take care for the private key to not contain a password protection - otherwise LiveConfig won't be able to start!

Prev   Next   Up   Home