其他分享
首页 > 其他分享> > Wget 报错 The certificate of ‘XXX’ is not trusted

Wget 报错 The certificate of ‘XXX’ is not trusted

作者:互联网

wget http://pecl.php.net/get/zip-1.19.3.tgz
URL transformed to HTTPS due to an HSTS policy
--2021-09-02 17:43:36--  https://pecl.php.net/get/zip-1.19.3.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
ERROR: The certificate of ‘pecl.php.net’ is not trusted.
ERROR: The certificate of ‘pecl.php.net’ was signed using an insecure algorithm.

  添加选项参数

--no-check-certificate

标签:certificate,--,XXX,tgz,报错,Wget,net,php,pecl
来源: https://www.cnblogs.com/yamboo/p/15219896.html