技術(shù)頻道導(dǎo)航
HTML/CSS
.NET技術(shù)
IIS技術(shù)
PHP技術(shù)
Js/JQuery
Photoshop
Fireworks
服務(wù)器技術(shù)
操作系統(tǒng)
網(wǎng)站運(yùn)營(yíng)

贊助商

分類目錄

贊助商

最新文章

搜索

wget報(bào)錯(cuò)原因:ERROR: cannot verify xxx's certificate...use --no-check-certificate

作者:admin    時(shí)間:2022-2-7 17:24:28    瀏覽:

 今天在一臺(tái)VPS上安裝PHP,結(jié)果執(zhí)行wget命令下載PHP安裝包時(shí)提示有錯(cuò),錯(cuò)誤信息如下:

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命令后加上--no-check-certificate參數(shù):

wget --no-check-certificate https域名網(wǎng)址

結(jié)果命令成功執(zhí)行。

--no-check-certificate 是什么意思呢,這里簡(jiǎn)單說(shuō)一說(shuō)。

wget --no-check-certificate 這個(gè)參數(shù)會(huì)讓你在 wget 進(jìn)行對(duì) https 站點(diǎn)的請(qǐng)求時(shí)不再檢查證書(shū)

如果缺少這個(gè)參數(shù),那么命令適用于http的網(wǎng)站域名。

標(biāo)簽: linux技術(shù)  CentOS  服務(wù)器  
x
  • 站長(zhǎng)推薦
/* 左側(cè)顯示文章內(nèi)容目錄 */