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

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

上一篇:BufferedReader readLine隔行读取的大坑


下一篇:典型的子序列问题