Tag Archives: The certificate of ‘XXX’ is not trusted

[Solved] Wget Error: 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.

Add option parameters

–no-check-certificate