已解决,在python中使用requests请求数据时报错:ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate
chain (_ssl.c:1108)
问题描述
在python中实现requests库发送请求:
res = requests.get(url,params=keys,headers=headers)
之后运行程序,控制台报如下错误:
文章来源:https://www.toymoban.com/news/detail-585296.html
Traceback (most recent call last):
File "D:\python\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "D:\python\lib\site-p文章来源地址https://www.toymoban.com/news/detail-585296.html
到了这里,关于【已解决】requests报错SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify fail的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!