-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Faraday::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed #477
Comments
I would first check whether https://github.com/slack-ruby/slack-ruby-client/blob/master/lib/slack/web/faraday/connection.rb#L17 is getting these options, just to be sure. Then reproduce just with Faraday directly. |
@dblock I checked that and I can see the params I passed on this line https://github.com/slack-ruby/slack-ruby-client/blob/master/lib/slack/web/faraday/connection.rb#LL18C1-L18C1 still get same error |
Reproduce with Faraday alone. I suspect it's the same problem, which means it's not an issue with the client itself (I don't know what the problem is though). |
I had the same error. As a fix, I passed params |
@gabifija In slack-ruby-client 2.0 these were set to |
I am initializing my client as:
where
cacert.pem
was downloaded from Mozilla here https://curl.se/docs/caextract.htmlbut I am still getting error:
Any idea? Kindly notice that certificate worked well with the
slack-notifier
gem which callshooks.slack.com
The text was updated successfully, but these errors were encountered: