Faraday::ConnectionFailed in Devise::SessionsController#create Connection refused - connect(2) for

I’m getting this error I think because openssl maybe has the wrong path
certs Typing openssl version -a says openssldir is “/usr/lib/ssl” I
if that means this is the path that openssl expects to find certificates
or not If it is I need to append certs to the end of the path because
that’s where the certificates are, files with .pem extensions I ran
connection = Faraday::Connection.new 'https://encrypted.google.com', :ssl => { :ca_path => "/usr/lib/ssl/certs" } but that returned an error
that certs is a directory, so looks like I read something that wasn’t
right, it was actually here

me know if you can help please ~ thanks