From c0207bf3ffebe6a214614fb448967dc50ea5f093 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Mon, 9 May 2022 13:04:56 +0200 Subject: [PATCH] docs: Add NODE_EXTRA_CA_CERTS documentation for webhook addons (#1578) * docs: Add NODE_EXTRA_CA_CERTS documentation for webhook addons Co-authored-by: Thomas Heartman --- website/docs/addons/webhook.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/addons/webhook.md b/website/docs/addons/webhook.md index 9f511f7867..a026a20623 100644 --- a/website/docs/addons/webhook.md +++ b/website/docs/addons/webhook.md @@ -53,3 +53,11 @@ Example: ``` If you don't specify anything Unleash will use the [Unleash event format](/api/admin/events). + +#### Custom SSL certificates {#certificates} + +If your webhook endpoint uses a custom SSL certificate, +you will need to start Unleash with the `NODE_EXTRA_CA_CERTS` environment variable set. +It needs to point to your custom certificate file in pem format. + +For more information, see the [official Node.js documentation on setting extra certificate files](https://nodejs.org/api/cli.html#node_extra_ca_certsfile).