Updating certificates

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-31 23:08:35 +02:00
parent eb3085a23c
commit 558deadd45

View File

@@ -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,