mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updating certificates
This commit is contained in:
@@ -22,9 +22,9 @@ app.set('views', publicPath);
|
|||||||
|
|
||||||
try{
|
try{
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var privateKey = fs.readFileSync('/etc/letsencrypt/live/zoff.me/privkey.pem').toString();
|
var privateKey = fs.readFileSync('/etc/letsencrypt/live/zoff.me-0002/privkey.pem').toString();
|
||||||
var certificate = fs.readFileSync('/etc/letsencrypt/live/zoff.me/cert.pem').toString();
|
var certificate = fs.readFileSync('/etc/letsencrypt/live/zoff.me-0002/cert.pem').toString();
|
||||||
var ca = fs.readFileSync('/etc/letsencrypt/live/zoff.me/chain.pem').toString();
|
var ca = fs.readFileSync('/etc/letsencrypt/live/zoff.me-0002/chain.pem').toString();
|
||||||
var credentials = {
|
var credentials = {
|
||||||
key: privateKey,
|
key: privateKey,
|
||||||
cert: certificate,
|
cert: certificate,
|
||||||
|
|||||||
Reference in New Issue
Block a user