0 488

wget 下载文件报如下错误时解决方法

比如 wget https://www.imagemagick.org/download/ImageMagick.tar.gz

https://www.imagemagick.org/download/ImageMagick.tar.gz
Resolving www.imagemagick.org (www.imagemagick.org)... 50.251.58.13
Connecting to www.imagemagick.org (www.imagemagick.org)|50.251.58.13|:443... connected.
ERROR: cannot verify www.imagemagick.org's certificate, issued by ‘CN=R3,O=Let's Encrypt,C=US’:
  Issued certificate has expired.
To connect to www.imagemagick.org insecurely, use `--no-check-certificate'.


解决方法

wget https://www.imagemagick.org/download/ImageMagick.tar.gz --no-check-certificate

[来源] http://erlangyun.com/p/id/293.html
[声明] 本站资源来自用户分享,如损害你的权益请联系客服QQ:120074275给予处理。