From 3fe53b73802ead72639ed495c91bed23062e345e Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 11 Sep 2021 23:51:13 +0430 Subject: https working now --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server.js') diff --git a/server.js b/server.js index fb10881..231f70b 100755 --- a/server.js +++ b/server.js @@ -95,8 +95,8 @@ app.use((err, req, res) => { }); https.createServer({ - key: fs.readFileSync('/certs/server.key'), - cert: fs.readFileSync("/certs/server.cert") + key: fs.readFileSync("/certs/privkey1.pem","utf-8"), + cert: fs.readFileSync("/certs/fullchain1.pem","utf-8") },app).listen(9000); // app.listen(9000); -- cgit v1.2.3