我正在使用介子构建系统,但今天早上我遇到了 wrapdb.mesonbuild.com的问题。
使用我的计算机和另一台计算机(用于检查),当使用 Chromium 或 Firefox 等网络浏览器时,我收到如下消息:
Your connection is not private
Attackers might be trying to steal your information from wrapdb.mesonbuild.com
(for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_DATE_INVALID
(我已经用ntpdate检查了我的计算机时间等......所以我先验这不是问题的根源)
还有任何尝试使用:
meson wrap list
失败,输出如下:
SSL connection failed. Falling back to unencrypted connections.
Traceback (most recent call last):
File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.7/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/usr/lib/python3.7/http/client.py", line 1422, in connect
server_hostname=server_hostname)
File "/usr/lib/python3.7/ssl.py", line 423, in wrap_socket
session=session
File "/usr/lib/python3.7/ssl.py", line 870, in _create
self.do_handshake()
File "/usr/lib/python3.7/ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1076)
你能重现吗?我找不到问题的根源。
更新:似乎 wrapdb.mesonbuild.com 过去已经关闭:
https://github.com/mesonbuild/meson/issues/3497
也许这是我目前的问题。
更新 2:我没有反射但是有
https://www.sslshopper.com/ssl-checker.html#hostname=wrapdb.mesonbuild.com
可以看到网站的证书昨天过期了……
还要感谢@TomEsposito 指出这一点。