From 90d6d7fe873ecfa6100673c51d2c3c2599715db3 Mon Sep 17 00:00:00 2001 From: Fasterino Date: Fri, 15 Nov 2024 02:59:40 +0300 Subject: [PATCH] Fix #2 --- src/https.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/https.ts b/src/https.ts index 6ece6f5..e17d108 100644 --- a/src/https.ts +++ b/src/https.ts @@ -32,8 +32,8 @@ function getSecureContexts(config: Config, letsencryptPath: string) { .filter(([_, value]) => value) .map(([key, value]) => [key, tls.createSecureContext({ - key: fs.readFileSync(join(letsencryptPath, value, "/privkey1.pem")), - cert: fs.readFileSync(join(letsencryptPath, value, "/fullchain1.pem")), + key: fs.readFileSync(join(letsencryptPath, value, "/privkey.pem")), + cert: fs.readFileSync(join(letsencryptPath, value, "/fullchain.pem")), ca: null, })]) )