I am trying to use signet for OAuth to Google services. And get this error:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Following these questions:
- SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
- OmniAuth & Facebook: certificate verify failed
Seems the solution is either to fix ca_path
or to set .VERIFY_NONE
for SSL
The ca_path
fix posted only works on Linux (port install) and the fix for VERIFY_NONE
seems to be for faraday.
Is there a solution for Windows/signet gem?
paypal_adaptive
gem. Anyone find an answer? – SparkyIO.copy_stream( open( url, { ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE } ), download_path )
to just disable the SSL verification. In our case, security wasn't an issue, the server was out of our control and it was a temporary solution. – Arhat