Configuration reference for HTTPS and database

Check the HTTPS and database parameters required to secure network traffic and ensure reliable data persistence. Use these settings to harden your environment and maintain a stable connection between the application and your data layer.

HTTPS requirements

To enable HTTPS, you must provide paths for both the certificate and the private key. Providing only one will result in a connection error.

http.cert
Path to the server certificate.
http.key
Path to the certificate’s private key.

Database connection (db.dsn)

The syntax for the Data Source Name (db.dsn) depends entirely on the db.type you select:

Database type (db.type) Connection string syntax (db.dsn)

SQLite

file:_<database_file>_.db

PostgreSQL

host=<hostname> port=<port_number> user=<username> password=<password> dbname=<database_name>