2016-08-04 169 views
0

我使用haproxy作爲5域的反向代理並使用將所有http請求轉換爲https的SSL(haproxy終止)。這在瀏覽器中工作正常。HAPROXY:代理隧道連接失敗:SSL

但是,當我嘗試wget(僅在我通過HAproxy配置的5域中)時,我得到了錯誤。

[email protected]:~# wget https://stg-confluence.example.com 
--2016-08-04 11:13:14-- https://stg-confluence.example.com/ 
Resolving proxy.ebiz.example.com (proxy.ebiz.example.com)... 100.244.32.2 
Connecting to proxy.ebiz.example.com (proxy.ebiz.example.com)|100.244.32.2|:80... connected. 
Proxy tunneling failed: Service UnavailableUnable to establish SSL connection. 
+0

此網站是用於編程問題。我們不是一般的軟件/服務器技術支持。 –

回答

0

wget需要相當specific ssl鏈。典型的ssl密鑰和cert是不夠的。即使是CA證書也是不夠的。由於此頁面已關閉,因此我無法查明您的情況究竟出了什麼問題。可能你只是爲了顯示示例而更改域名地址。

對不起,我不會向您發送更多信息,但我需要示例來測試它。