Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/339.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 证书验证失败:证书已过期(_ssl.c:1108)_Python_Certificate_Discord - Fatal编程技术网

Python 证书验证失败:证书已过期(_ssl.c:1108)

Python 证书验证失败:证书已过期(_ssl.c:1108),python,certificate,discord,Python,Certificate,Discord,尝试运行Discord bot时,我遇到以下错误: 引发客户端连接器证书错误( aiohttp.client_exceptions.ClientConnectorCertificateError:无法连接到 host discordapp.com:443 ssl:True[SSLCertVerificationError: (1),[SSL:CERTIFICATE\u VERIFY\u FAILED]CERTIFICATE VERIFY FAILED: 证书已过期(_ssl.c:1108)]

尝试运行Discord bot时,我遇到以下错误:

引发客户端连接器证书错误(
aiohttp.client_exceptions.ClientConnectorCertificateError:无法连接到
host discordapp.com:443 ssl:True[SSLCertVerificationError:
(1),[SSL:CERTIFICATE\u VERIFY\u FAILED]CERTIFICATE VERIFY FAILED:
证书已过期(_ssl.c:1108)]
这件事不知从哪里开始,每次都会发生

我正在Windows10上使用Python3.8

这意味着什么?如何修复它?

要修复此问题:

  • 使用Internet Explorer访问discord.com(以管理员身份运行)

  • 单击右上角的锁

  • 单击“查看证书”

  • 安装一个


PS:如果您的防病毒软件在web浏览器上处于活动状态,而此解决方案不起作用,请尝试禁用它,然后重试。

这可能与此过期有关。我仍在尝试解决此问题,但快速搜索显示升级OS/OpenSSL/编程语言版本可能会有所帮助。这是否回答了您的问题?原因是什么“使用IE(以管理员身份运行)访问discord.com”是指?我对this@doggosvsshibes这意味着以管理员身份打开Internet Explorer,并转到网站“discord.com”“当我打开证书时,证书已经存在,并且是有效的。虽然没有按钮让我安装证书…@doggosvsshibes如果安装按钮丢失,可能是因为您没有以管理员身份运行IE