aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Cloudburst <us@conep.one>2022-05-23 11:47:12 +0100
committerLeah Cloudburst <us@conep.one>2022-05-23 11:47:12 +0100
commita517f5b004e4121a1bdfdd297d67c455982001a8 (patch)
tree527c0cab2af4f7b8f1fde56f1c81a85783dbc09a
parentc999c67a7872e89b183e5f1170c9321e4f4de25f (diff)
downloadvaportrail-statuspoller-a517f5b004e4121a1bdfdd297d67c455982001a8.tar.gz
vaportrail-statuspoller-a517f5b004e4121a1bdfdd297d67c455982001a8.tar.bz2
vaportrail-statuspoller-a517f5b004e4121a1bdfdd297d67c455982001a8.zip
Update 'index.ts'
-rw-r--r--index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index ac1d5e3..cac468f 100644
--- a/index.ts
+++ b/index.ts
@@ -5,8 +5,9 @@ import si from "systeminformation";
var privateKey = readFileSync('../cert/cert.pem', 'utf8');
var certificate = readFileSync('../cert/privkey.pem', 'utf8');
+const ca = readFileSync('../cert/chain.pem', 'utf8');
-var credentials = {key: privateKey, cert: certificate};
+var credentials = {key: privateKey, cert: certificate, ca: ca};
const app = express();