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
本文版权归作者和博客园共有,欢迎转载,但必须给出原文链接,并保留此段声明,否则保留追究法律责任的权利。