-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SSL_connect: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed (OpenSSL::SSL::Error) #3477
Comments
Was the binary compiled on the same system it's being run on? |
Yes. |
I think your real issue is this :
This error means the client could not verify the certificate on the target server. |
It's unlikely for github.com to have an invalid certificate. Maybe a problem accessing local certificates, preventing validation of the remote host? |
Note that |
@ysbaddaden I's a solution to find out what the problem is :) |
Thanks for the replies. How to set btw, same problem with 0.20.0 |
require "http/client" |
Thank you @bmmcginty |
We merely delegate to OpenSSL which should be searching for certificates. Sounds like the OpenSSL versions difference are somewhat incompatible, or a configuration difference at compile time? |
How to check this/where to start? OpenSSL definitely works on my system |
working OK on my local box (OS X) possibly your OpenSSL is misconfigured [?]
|
No longer reproduces. |
crystal 0.19.4 and 0.20.0
openSUSE Tumbleweed 64-bit
throws an error:
First 2 lines look suspicious. Why is it trying to load /usr/lib/libssl.so if I'm on 64-bit OS? It should look into /usr/lib64
Same crystal version and the same code work fine on openSUSE 13.2 64-bit. The problem is only with Tumbleweed.
The text was updated successfully, but these errors were encountered: