From d475407061dd22809f851b2eb3a7d9febfab3fd9 Mon Sep 17 00:00:00 2001 From: teddit Date: Mon, 4 Oct 2021 20:28:57 +0200 Subject: [PATCH] use fullchain.pem instead of chain.pem --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 076a661..bbc03f4 100644 --- a/app.js +++ b/app.js @@ -49,7 +49,7 @@ let https = null; if (config.https_enabled) { const privateKey = fs.readFileSync(`${config.cert_dir}/privkey.pem`, 'utf8'); const certificate = fs.readFileSync(`${config.cert_dir}/cert.pem`, 'utf8'); - const ca = fs.readFileSync(`${config.cert_dir}/chain.pem`, 'utf8'); + const ca = fs.readFileSync(`${config.cert_dir}/fullchain.pem`, 'utf8'); const credentials = { key: privateKey, cert: certificate,