From 32534b91bf0b8beb858d6985fc07c8b74e54987c Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 9 May 2023 22:36:19 +0330 Subject: was reading the cert and key in place of each other --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index f19900b..7e45b31 100755 --- a/server.js +++ b/server.js @@ -185,11 +185,11 @@ if (process.env.SERVER_DEPLOYMENT_TYPE == "deployment") { .createServer( { key: fs.readFileSync( - "/etc/letsencrypt/live/blog.terminaldweller.com/fullchain.pem", + "/etc/letsencrypt/live/blog.terminaldweller.com/privkey.pem", "utf-8" ), cert: fs.readFileSync( - "/etc/letsencrypt/live/blog.terminaldweller.com/privkey.pem", + "/etc/letsencrypt/live/blog.terminaldweller.com/fullchain.pem", "utf-8" ), }, -- cgit v1.2.3