diff options
-rw-r--r-- | index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); |