rubiii/httpi — pull request #61 by ustuehler (2012-09-11 15:10:31+00:00)
Title: Support multiple CA certificates in a single file

This lets me point ssl.ca_cert_file at the system CA certificate store (multiple concatenated PEM certificates, /etc/ssl/certs/ca-certificates.crt on Debian) to avoid an SSL verification error "at depth 0 - 20: unable to get local issuer certificate".

I'm using HTTPI indirectly via savon-1.1.0 and simple_crowd-1.2.1 on Debian. My way to set the CA file is this:
```ruby
require 'simple_crowd'
crowd = SimpleCrowd::Client.new(
:service_url => 'https://crowd.example.com/',
:app_name => 'foo',
:app_password => 'bar')
crowd.send(:client).http.auth.ssl.ca_cert_file = '/etc/ssl/certs/ca-certificates.crt'
crowd.find_user_by_name 'joe'
```

Reference: https://github.com/rubiii/httpi/issues/26#issuecomment-4280217