我刚刚设置了一个网站/网络服务器,并通过 ZeroSSL 对其进行了验证,但是当我尝试对其运行 curl 或 wget 时,它会出错。我可以通过运行绕过它,wget --no-check-certificate
或者curl -k
考虑到网站的相当一部分是围绕安装文件构建的,我宁愿让它开箱即用。有没有办法在不下载证书或不检查证书的情况下解决这个问题?
卷曲错误
curl https://gitnet.me
curl: (60) ssl certificate problem: unable to get local issuer certificate
Wget 错误
wget https://gitnet.me
Resolving gitnet.me... 104.207.144.166
Connecting to gitnet.me|104.207.144.166|:443... connected.
ERROR: cannot verify gitnet.me's certificate, issued by 'CN=ZeroSSL RSA Domain Secure Site CA,O=ZeroSSL,C=AT':
Unable to locally verify the issuer's authority