From a517f5b004e4121a1bdfdd297d67c455982001a8 Mon Sep 17 00:00:00 2001 From: Leah Cloudburst Date: Mon, 23 May 2022 11:47:12 +0100 Subject: Update 'index.ts' --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit