From f60607b857ddd503007a824ca7287dceba320c8d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 22 Dec 2016 11:05:16 -0700 Subject: [PATCH] fix #14 must reassign ca array --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e74ce80..b431787 100644 --- a/README.md +++ b/README.md @@ -238,6 +238,7 @@ var cas; cas = https.globalAgent.options.ca || []; cas.push(fs.readFileSync(path.join(__dirname, 'ssl', '03-cheap-ssl-site.pem'))); +https.globalAgent.options.ca = cas; ``` ### rootCas