获得了新的证书,但是 wget 和 curl 不再连接:
wget https://MYDOMAIN
ERROR: cannot verify MYDOMAINS's certificate, issued by ‘/C=US/O=GeoTrust Inc./OU=Domain Validated SSL/CN=GeoTrust DV SSL CA - G4’:
检查仅显示这些文件:
ls /etc/ssl/certs/GeoTrust_*
GeoTrust_Global_CA_2.pem GeoTrust_Global_CA.pem GeoTrust_Primary_Certification_Authority_-_G2.pem GeoTrust_Primary_Certification_Authority_-_G3.pem
GeoTrust_Primary_Certification_Authority.pem
GeoTrust_Universal_CA_2.pem
GeoTrust_Universal_CA.pem`
我需要等待 ubuntu 添加 G4 证书吗?自己复制文件听起来很可怕。
我已经做了update-ca-certificates --fresh
答案1
这
update-ca-certificates --fresh
仅当您先前将证书复制到时才有用/usr/local/share/ca-certificates
。
脚步: