Re: RestClient and SSL stores/default paths

Cyril Rohr <cyril.rohr@...>


On Apr 12, 2012, at 2:26 AM, David Ljung Madison wrote:

I don't know much about SSL, but I'm trying to use RestClient to
connect to my SSL server. I tried the simple RestClient example
I found and added this to

:ssl_client_cert =>"gd_intermediate.pem")),
:verify_ssl => OpenSSL::SSL::VERIFY_PEER
If you want to verify server certificates, you need to pass the path to a Certification Authority (CA) file with the :ssl_ca_file option. This file should contain at least the certificate of the CA that signed the server certificate you want to verify (in your case, GoDaddy's).

That being said, it would be nice to support a store path option so that it's easier to verify certificates delivered by common CAs.


Join { to automatically receive all group messages.