Forums

Authentication via social nets and ssl

Hello! I am trying to make authentication in my site via social nets and social-auth-app-django framework. I use this tutorial. Authentication via Facebook works great on my local machine and on my pythonanywhere site, but authentication via vk.com (Russian social net) has some troubles. On my local machine (ubuntu) it works fine, but there on pythonanywhere there is an error

Authentication failed: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Whole error log there

There the author of social-auth-app-django framework advice to install ca-certificates, but I can't do this due to permissions. The second advice pip uninstall -y certifi && pip install certifi==2015.04.28 doesn't help too.

Are there any ideas?

That's a very old issue that you link to. Try installing the most recetn version of certifi. That might help.

Finally, this help for me https://github.com/pyca/cryptography/blob/master/docs/installation.rst#static-wheels Some magic with openssl

glad it's working in any case! :)