I am using [Authlogic-Connect](https://github.com/viatropos/authlogic-connect) for third party logins. After running appropriate migrations, Twitter/Google/yahoo logins seem to work fine but the facebook login throws exception:

```
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

```

The dev log shows 

```
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
  app/controllers/users_controller.rb:37:in `update'

```

Please suggest..