Closed devlikepro closed 2 weeks ago
👉 Here's Step by step guide on how to set up HTTPS for WAHA
After you set up the security options - you should set up HTTPS to protect the data in transit and prevent Man-in-the-middle attacks.
That's fine to run it on the local network without HTTPS, but for the production environment, it's a must-have.
WAHA supports HTTPS out of the box.
You can set up the following environment variables to enable HTTPS:
WAHA_HTTPS_ENABLED=true
: Set this variable to true
to enable HTTPS. By default, it's false
.WAHA_HTTPS_PATH_KEY=/path/to/key.pem
: The path to the key file for HTTPS. By default ./.secrets/privkey.pem
WAHA_HTTPS_PATH_CERT=/path/to/cert.pem
: The path to the certificate file for HTTPS. By default ./.secrets/cert.pem
WAHA_HTTPS_PATH_CA=/path/to/ca.pem
: The path to the CA file for HTTPS. By default ./.secrets/chain.pem
Here's available options how you can set up HTTPS:
To fix "mixed content" issue on https://waha.devlike.pro/dashboard/ we need to handle ssl on WAHA side so it's free to setup self-signed ssl
Links: