Skip to content
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 #39

Open
radilr1 opened this issue Sep 4, 2020 · 0 comments
Open

OpenSSL::SSL::SSLError: SSL_connect #39

radilr1 opened this issue Sep 4, 2020 · 0 comments

Comments

@radilr1
Copy link

radilr1 commented Sep 4, 2020

When I tested in the console a sample request with HttpClient library returns that error while using the Net::Http worked fine. Also I tried to pass client options ca_file and cs_path they didn't work.
As a workaround I had to do:

client.client_driver.connection.ssl_config.add_trust_ca("/usr/lib/ssl/certs/ca-certificates.crt")

which solved the issue but please consider either moving to native ruby Net::Http or add the support for ca_file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant