SSL throwing error 185090050 while authentication via Oauth

后端 未结 4 1211
迷失自我
迷失自我 2020-12-17 23:43

I am trying use Google\'s Oauth to connect to Google adsense and am getting this error. Any clues to fix it?

Anyone has faced such a issue before in python?

4条回答
  •  佛祖请我去吃肉
    2020-12-18 00:21

    I was getting this exact x509 error in oauth2 (for Twitter API, not Google) with Python 2.7.5 and used Akshay Valsa's advice and changed the permissions on cacerts.txt with

    chmod 644 /usr/local/lib/python2.7/dist-packages/httplib2-0.8-py2.7.egg/httplib2/cacerts.txt
    

    That fixed the problem and I can now run my module as an ordinary user instead of sudoing it. Thanks!

提交回复
热议问题