sorcery icon indicating copy to clipboard operation
sorcery copied to clipboard

Faraday::SSLError

Open bragovo opened this issue 6 years ago • 4 comments

On every Ubuntu systems with rbenv and ruby 2.5.0 not working auth through VK provider. On Mac everything fine and FB provider work fine too. Is that problem with sorcery or faraday or Ubuntu?

Faraday::SSLError (SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)):

VK and FB auth in devise gem working fine.

bragovo avatar May 16 '18 13:05 bragovo

Set config.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt' and now auth fine. Maybe default ca_file outdated?

bragovo avatar May 16 '18 20:05 bragovo

@bragovo could be? Sorry I don't know too much about this and I've never used the FB provider. could you check with the Faraday folks?

Ch4s3 avatar Jul 09 '18 18:07 Ch4s3

The pr #200 addresses this, but is blocked by validation that the new CA is correct / safe.

joshbuker avatar Dec 19 '19 01:12 joshbuker

The ideal resolution for the whole CA issue will be offloading that responsibility to Omniauth, imo.

Assuming there are no issues switching to Omniauth, this will be fixed in v1.

joshbuker avatar Jun 05 '21 00:06 joshbuker