你知道这个错误吗:
urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
This error occurred on my server when I run my app which is written on python, but when I run this app on local computer for sending requests to that server it works without any error.
The python app sent to https request to myhost.com/action
. and the web host is working with https. I checked ssl from sslchecker https://www.sslchecker.com/sslchecker and it seems ssl installed succesfully. here is checker result:
我不知道我必须在这里展示什么来解释我的问题。如果您对代码或服务器设置有疑问,我会尽力回答。
** 这个问题不重复that one https://stackoverflow.com/questions/32115607/python-3-4-ssl-error-urlopen-error-eof-occurred-in-violation-of-protocol-ssl-c
python 3中添加了新的ssl认证检查系统,避免未通过认证错误的一种方法是取消该机制:
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)