sslCert

sslCert

Description

This setting specifies the path to an SSL certificate file. When both this option and sslKey are specified, the server uses HTTPS.

See the cert option in the Node.js TLS documentation for details on the format of the certificate file.

If securePort is not also set, the certificate causes the port named by port to serve HTTPS instead of HTTP (see Configuring HTTPS/SSL). The file must be readable by the user profile the instance runs under.

Example

sslCert: "/my_cert/cert.pem"

For information on how to modify this setting, see Configuration File.