2013-08-20 39 views
0

我正試圖在我的服務器上做一個簡單的wget,這是全新的,並且出現此錯誤。我從來沒有遇到過這樣的事 - 在所有...linux wget沒有通過認證?

[[email protected] ~]# wget https://dl.dropboxusercontent.com/u/60455970/litecoin-0.6.3c-linux.tar.gz 
--10:11:52-- https://dl.dropboxusercontent.com/u/60455970/litecoin-0.6.3c-linux.tar.gz 
Resolving dl.dropboxusercontent.com... 54.243.119.191 
Connecting to dl.dropboxusercontent.com|54.243.119.191|:443... connected. 
ERROR: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3': 
    Unable to locally verify the issuer's authority. 
To connect to dl.dropboxusercontent.com insecurely, use `--no-check-certificate'. 
Unable to establish SSL connection. 
+0

你只需要這個投寄箱:

通過符號鏈接是固定嗎?它是哪個linux發行版?如果你不知道,請顯示'lsb_release -a'的輸出 – mvp

回答

1

按照說明:

要連接到不安全dl.dropboxusercontent.com,使用 `--no-入住證書'。

運行:

wget --no-check-certificate https://dl.dropboxusercontent.com/u/60455970/litecoin-0.6.3c-linux.tar.gz 

它爲我工作就好了!

+0

哇我的壞應該讀它,對不起,謝謝! – rofll

+2

但是這仍然不是很好的解決方案 - 現在任何欺騙你的DNS(相對容易做)的人都可以欺騙你上傳/下載到假的服務器,或者只是竊取你的密碼 – mvp

+0

@mvp它的保管箱和內容是在'公共'文件夾,所以你可以d/l它沒問題,但是你不能搞砸它,絕對不能沒有憑證上傳。 – alfasin

0

解決不了根本問題,而不是「--no檢查證書」。

在Ubuntu的某些版本(肯定是14.04服務器)上,wget和openssl在/ usr/lib/ssl/certs中使用默認CA存儲進行編譯,而不是/ etc/ssl/certs,其中存在真正的cert。

sudo mkdir -p /usr/lib/ssl 
sudo ln -s /etc/ssl/certs /usr/lib/ssl/certs