sorcery
sorcery copied to clipboard
Faraday::SSLError
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.
Set config.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
and now auth fine. Maybe default ca_file outdated?
@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?
The pr #200 addresses this, but is blocked by validation that the new CA is correct / safe.
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.