Skip to main content

TLS Configuration

By default, Gate does not use TLS. You can enable it with the tls enabled option.

If a valid certificate is not provided, a self-signed certificate is generated on the fly.

caution

You should not use Gate's self-signed certificates in production.

GATE_TLS_ENABLED=true
GATE_TLS_CERT_FILE=/etc/certs/local-cert.pem
GATE_TLS_KEY_FILE=/etc/certs/local-key.pem