简体   繁体   中英

Certificate Error while Deploying python code in Google App Engine

I tried deploying python code using google app engine. But I got Error Below:

certificate verify failed

I had included proxy certificate in urlfetch_cacerts.py and enabled ' validate_certificate ' in urlfetch_stub.py by _ API_CALL_VALIDATE_CERTIFICATE_DEFAULT = True .But I still get the error.. Can you suggest any solution?

Thanks in advance.

Upgrading Python to 2.7.8 or later versions fixed the issue.

EDIT: Also check if you are using google app engine SDK 1.8.1 or later version. As of version SDK 1.8.1 the cacerts.txt has been renamed to urlfetch_cacerts.txt . You can try removing cacerts.txt file to fix the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM