Итак, я знаю, что в Windows у вас плохой сертификат, вы можете просто использовать браузер и щелкнуть, чтобы проверить, кто является подписавшим.
Однако я не могу сделать это в Ubuntu Cli?Как я могу узнать, какой сертификат предлагается моему Ubuntu?Так что я могу посмотреть, какой сертификат мне нужно установить?
stack@openstack:~/devstack$ curl -f --retry 6 --retry-delay 5 -z /opt/stack/devstack/files/get-pip.py -o /opt/stack/devstack/files/get-pip.py https://bootstrap.pypa.io/get-pip.py -verbose
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 151.101.0.175...
* Connected to bootstrap.pypa.io (151.101.0.175) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 594 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 /
ECDHE_RSA_AES_128_GCM_SHA256
* server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Closing connection 0
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.