fix #14 must reassign ca array

This commit is contained in:
AJ ONeal 2016-12-22 11:05:16 -07:00 committed by GitHub
parent bd7e9d36ad
commit f60607b857
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ var cas;
cas = https.globalAgent.options.ca || []; cas = https.globalAgent.options.ca || [];
cas.push(fs.readFileSync(path.join(__dirname, 'ssl', '03-cheap-ssl-site.pem'))); cas.push(fs.readFileSync(path.join(__dirname, 'ssl', '03-cheap-ssl-site.pem')));
https.globalAgent.options.ca = cas;
``` ```
### rootCas ### rootCas