linux 遇到wget证书不可信 --- 2021-09-30
2021-10-03 本文已影响0人
一位先生_
[root@***~]# wget https://pecl.php.net/get/amqp-1.9.3.tgz
--2021-09-30 11:14:00-- https://pecl.php.net/get/amqp-1.9.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 https://pecl.php.net/get/amqp-1.9.3.tgz --no-check-certificate