agiliq/Django-Socialauth

Logging in with Yahoo and Google returns "certificate verify failed"

sinapam opened this issue · 5 comments

I've just downloaded your demo code, ran it and found some problem with Yahoo and Google sign in.

Yahoo:
Receive 500 error

HTTPFetchingError at /accounts/yahoo_login/complete/
(60, 'SSL certificate problem, verify that the CA cert is OK. Details:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed')

Google:
OpenID failed:
The OpenID was invalid
(but if you really debug into it, you'd see the same error as Yahoo in DiscoveryFailure exception

Do you know why this would happen?

Thank you.

What happens if you use this? http://uswaretech.com/forum/login/ (Trying to figure if this is a settings issue.)

I could log in to that url fine.

I've just read the README again and saw that we need to obtain the API keys.

After we already have this, where do we put it for both Google and Yahoo?

Hi, I still haven't been able to make this work.

When I used your demo code, the only things I changed was adding the Facebook and Twitter API keys. So I'm not sure why it would behave differently from your website.

are you still able to reproduce this?

I've found out that the pyCurl library was causing the problem (only on Windows machine though). Removing the pyCurl library fixed it, but I did not go into any more details on why it has caused the problem.