Adds root certificates to the OpenURI module so that SSL connections work properly in Ruby 1.9
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
certs
lib
spec
.gemtest
.gitignore
.travis.yml
Gemfile
README.md
Rakefile
ssl_certifier.gemspec

README.md

ssl_certifier Build Status

This gem provides the cURL ca certficates to allow Ruby/OpenURI to verify the authenticity of SSL certificates. Ruby 1.9.x will, by default, attempt to verify SSL certificates when it performs secure operations. This is good from a security standpoint, but when Ruby cannot find the root certificates (like on most Windows installations), SSL errors will occur. This gem solves that problem.

Installation

gem install ssl_certifier

Rails 3

Put this in your Gemfile: gem 'ssl_certifier'

Usage

In Rails 3, the gem will be automatically loaded with your environment via Bundler.

In Ruby scripts, simply require the Gem along with your other dependencies:

require 'ssl_certifier'

Issues

Report via Github

Bitdeli Badge