Nope. This is my actual code: https.globalAgent.options.ca = https.globalAgent.options.ca || []; https.globalAgent.options.ca = https.globalAgent.options.ca.concat(lesserKnownCas);
It starts out as undefined, which is why it's very odd to me that defining it kills it. AJ ONeal On Thu, Mar 6, 2014 at 5:30 PM, Kevin Ingwersen <[email protected]>wrote: > Sounds to me like its an array/object, so try this: > > https.globalAgent.options.ca[] = lesserKnownCas; > > That will add an entry into the array. > Am 07.03.2014 um 01:17 schrieb AJ ONeal <[email protected]>: > > So it turns out that when I do this > https.globalAgent.options.ca <http://https.globalagent.options.ca/> = > lesserKnownCas; > > It knocks out all of the well-known CAs and then I can't connect to > Twitter, Stripe, etc. > > Is it possible to append instead of replace? > > If not, where do I find the pem files to read back in? > > > AJ ONeal > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
