/*******************************************************************************
* ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)
* 说明:
* 在处理HTTPS请求的时候出现ssl报错,之前貌似没这个问题。
*
* 2018-12-14 深圳 宝安西乡 曾剑锋
******************************************************************************/ 一、参考文档:
. win7 python3 解决 (SSLError(, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_s
https://blog.csdn.net/default7/article/details/77878369 二、处理方法:
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
相关文章
- 01-05AWS CLI SSL: CERTIFICATE_VERIFY_FAILED 错误分析与解决
- 01-05pip或easy_install安装库报错:SSL: CERTIFICATE_VERIFY_FAILED
- 01-05ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)
- 01-05(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate
- 01-05【Pytorch】下载CIFAR10数据集报错:urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certi
- 01-05ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- 01-05【Python】【BugList13】req = requests.get(url=target)报错: (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)')
- 01-05macbook下使用requests库请求网站报错:ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
- 01-05pip联网问题 SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748
- 01-05Python3 打开 https 链接,异常:“SSL: CERTIFICATE_VERIFY_FAILED”