Back to Wekan

WebHook And CA

docs/Webhooks/WebHook-And-CA.md

9.08812 B
Original Source

Because NodeJS uses an hardcoded list of certificates if you deploy a site (receiving the webhook from wekan) behind a reverse proxy on https with a Let's Encrypt certificate you may have a problem: Let's Encrypt's CA is not recognized. The correct answer is here.

  • Download the Let’s Encrypt Authority X3 (IdenTrust cross-signed) from here
sh
cd /etc/ssl/certs
wget https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt -O lets-encrypt-x3-cross-signed.pem
  • Now start the application with
sh
NODE_EXTRA_CA_CERTS=/etc/ssl/certs/lets-encrypt-x3-cross-signed.pem node main.js