mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-24 07:59:22 +01:00
use fullchain.pem instead of chain.pem
This commit is contained in:
parent
9d01c544d1
commit
d475407061
2
app.js
2
app.js
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user