taylorbrooks / closeio

A Ruby wrapper for the Close.io API
http://developer.close.com
MIT License
45 stars 57 forks source link

Adding option to pass in SSL certificate file path for Faraday to work on Heroku #25

Closed migu0 closed 8 years ago

migu0 commented 9 years ago

This gem won't work on Heroku with SSL enabled unless the path of the CA certificate is passed on to Faraday.

migu0 commented 9 years ago

This might also add some clarification: https://github.com/lostisland/faraday/wiki/Setting-up-SSL-certificates

migu0 commented 9 years ago

Hmmm, I thought it was solved but we still got some errors overnight: Faraday::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A. Let's talk more on Skype.

taylorbrooks commented 8 years ago

Sorry it took so long. Just cut 2.4.7 and pushed it up to Rubygems.

Btw, where do you find the CA file path on Heroku?

migu0 commented 8 years ago

Cheers, I’ll point to your gem again then, thanks.

I mentioned the path in the README file and found it here: https://github.com/lostisland/faraday/wiki/Setting-up-SSL-certificates ('/usr/lib/ssl/certs/ca-certificates.crt').