use fullchain.pem instead of chain.pem

This commit is contained in:
teddit 2021-10-04 20:28:57 +02:00
parent 9d01c544d1
commit d475407061
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -49,7 +49,7 @@ let https = null;
if (config.https_enabled) {
const privateKey = fs.readFileSync(`${config.cert_dir}/privkey.pem`, 'utf8');
const certificate = fs.readFileSync(`${config.cert_dir}/cert.pem`, 'utf8');
const ca = fs.readFileSync(`${config.cert_dir}/chain.pem`, 'utf8');
const ca = fs.readFileSync(`${config.cert_dir}/fullchain.pem`, 'utf8');
const credentials = {
key: privateKey,
cert: certificate,