fix #14 must reassign ca array
This commit is contained in:
parent
bd7e9d36ad
commit
f60607b857
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue