-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed #692
Comments
Having the same issue it just started ruby 2.3.6p384 |
@vyankateshmadgundi-ayla the cacert.pem file included in the old version is expired. I was able to get around this by adding an initializer with the new path and including a new cacert.pem found here https://curl.se/docs/caextract.html
|
I upgraded the gem version from |
Instead of overwriting in an initializer, I ended up setting an ENV variable with the path to my new cacert and calling client like this |
Thank you @ClayCribbs for your quick reply. Please let me know the expiry of the SSL Certificate. |
Do you know if there is any way to solve this certificate update without redeploying my application? Any help appreciated. |
I got in to same situation. There was no other option for me but to move off from heroku. I dockerize the app and deployed in a droplet in Digital Ocean. |
@nchatu I think I will not have any other option myself too. I will look into this. Any good document pointers you can lead me to. I am a newbie in Digital Ocean. |
ruby 1.9.3-p484
gem 'rails', '3.2.21'
gem 'twilio-ruby', '~> 4.11.1'
Issue Summary
When we validate phone numbers with Twilio we get error:
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed
It was working 3-4 weeks back.
Steps to Reproduce
Code Snippet
Exception/Log
Technical details:
The text was updated successfully, but these errors were encountered: