小编Dar*_*ira的帖子

所有主机的 SSL 均失败。(SSL证书问题:证书链中的自签名证书)

我在 Ubuntu 16.04 上使用适用于 Windows 的 Linux 子系统。以前没有遇到过这样的问题。

目前,任何从 Ubuntu(curl、python、任何东西等)使用 SSL 的尝试都会返回“证书链中的自签名证书”这样的错误。

跑步:

curl -v https://accounts.google.com

返回:

*   Trying 172.217.12.77...
* TCP_NODELAY set
* Expire in 149889 ms for 3 (transfer 0x7fffe443e570)
* Expire in 200 ms for 4 (transfer 0x7fffe443e570)
* Connected to accounts.google.com (172.217.12.77) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /home/<username>/anaconda3/ssl/cacert.pem
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2): …
Run Code Online (Sandbox Code Playgroud)

ssl curl openssl ssl-certificate

3
推荐指数
2
解决办法
5821
查看次数

标签 统计

curl ×1

openssl ×1

ssl ×1

ssl-certificate ×1