最新消息:

wget报错原因:ERROR: cannot verify xxx’s certificate…use –no-check-certificate

linux eben 625浏览 0评论

今天在一台VPS上安装PHP,结果执行wget命令下载PHP安装包时提示有错,错误信息如下:

ERROR: cannot verify xxx’s certificate, issued by ‘/C-PL/0-Unizeto Technologies S.A./OU-Certun Certification Authorrity/CN-Certun Domain Validation CA SHA2’:
Unable to locally verify the issuer’s authority.
To connect to xxx insecurely, use ‘–no-check-certificate’.

wget报错原因:ERROR: cannot verify xxx\'s certificate...use --no-check-certificate-1

按照提示,在wget命令后加上--no-check-certificate参数:

wget --no-check-certificate https域名网址

结果命令成功执行。

--no-check-certificate 是什么意思呢,这里简单说一说。

wget --no-check-certificate 这个参数会让你在 wget 进行对 https 站点的请求时不再检查证书

如果缺少这个参数,那么命令适用于http的网站域名。

转载请注明:落伍老站长 » wget报错原因:ERROR: cannot verify xxx’s certificate…use –no-check-certificate

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址