nahi/httpclient — pull request #187 by jgraichen (2014-01-10 16:40:26+00:00)
Title: Use system wide CA cert store by default.

Not using the system wide CA cert store as the default cert store makes it impossible to use a different list of CA certs when not using httpclient directly but through a third-party library.

It also leads to unexpected errors as most software will work except httpclient when e.g. you have imported your own internal CA certificates into the system wide CA certificate chain. Additional you profit from security updates for CA certificates provided by the operation system vendor/community.

This PR changes the SSLContext setup to use the default system wide CA certs instead of the bundled ones if nothing else was configured.

A workaround is calling `http_client.ssl_config.set_default_paths` but that again is not possible if you're not using httpclient directly but by a third-party application or library.