drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

Add support for cert_store #6

Closed raggi closed 13 years ago

raggi commented 13 years ago

This makes it easy for users to use the default system ca certificates, as VERIFY_PEER will "just work" provided they have root certificates installed in OPENSSLDIR (see openssl version -d) under cert.pem.

Users can also specify their own cert_store if desired.

drbrain commented 13 years ago

Thanks! I never had the time to look into implementing this.

I will also default to VERIFY_PEER after merging this patch