From 558deadd45a4d8c6bf371d73a901e48879fc5e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Wed, 31 May 2017 23:08:35 +0200 Subject: [PATCH] Updating certificates --- server/server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/server.js b/server/server.js index d8942778..73a91dae 100755 --- a/server/server.js +++ b/server/server.js @@ -22,9 +22,9 @@ app.set('views', publicPath); try{ var fs = require('fs'); - var privateKey = fs.readFileSync('/etc/letsencrypt/live/zoff.me/privkey.pem').toString(); - var certificate = fs.readFileSync('/etc/letsencrypt/live/zoff.me/cert.pem').toString(); - var ca = fs.readFileSync('/etc/letsencrypt/live/zoff.me/chain.pem').toString(); + var privateKey = fs.readFileSync('/etc/letsencrypt/live/zoff.me-0002/privkey.pem').toString(); + var certificate = fs.readFileSync('/etc/letsencrypt/live/zoff.me-0002/cert.pem').toString(); + var ca = fs.readFileSync('/etc/letsencrypt/live/zoff.me-0002/chain.pem').toString(); var credentials = { key: privateKey, cert: certificate,