TLS certificate settings for SSL connections
WHD 2026.2.1 uses TLS certificates in PEM format, managed by the Caddy HTTP server. This replaces the Java Keystore (.jks) used in previous versions. Certificate paths are configured in conf/whd.env using WHD_TLS_CERT and WHD_TLS_KEY. The default self-signed certificate is generated automatically during installation.
The following table lists the TLS certificate settings in conf/whd.env.
| Setting | Description |
|---|---|
WHD_TLS_CERT=${WHD_HOME}/conf/cert.pem
|
Set WHD_TLS_CERT to the path of your certificate PEM file. The default self-signed certificate is generated during installation at |
WHD_TLS_KEY=${WHD_HOME}/conf/key.pem
|
Set
|
WHD_DOMAIN=localhost
|
The hostname WHD should respond to. Caddy uses this for TLS Server Name Indication (SNI). Set to your server's fully qualified domain name (FQDN) or IP address. For Let's Encrypt automatic certificates, this must be a publicly resolvable domain name. |