2017-10-06 111 views
2

我剛剛在我的VPS上安裝了一箇中級&主SSL證書。一切運作良好,除了當我做一個CFHTTP電話:CFHTTP不通過SSL連接進行連接?

<cfhttp url="https://advert.establishmindfulness.com/ad-zone-1/?categoryid=1" method="get" result="adzone" /> 
<cfdump var="#adzone#" /> 

https://app.establishmindfulness.comhttps://advert.establishmindfulness.com。這兩個子域在同一臺服務器上,而我使用的是通配符SSL證書:

* .establishmindfulness.com

,涵蓋所有子域。

VPS環境

OS:的Windows 2008 R2與IIS7

應用服務器: Lucee 4.5.2.018最終

Servlet容器:的Apache Tomcat/8.0.28

Java: 1.8.0_66(甲骨文公司)64位

我需要安裝intermediate.crt & primaryssl.crt到我的密鑰倉庫cacerts嗎?這是問題嗎?

我試着安裝從Internet Explorer中抓取的certificate.cer,但也許這是錯誤的方法?

我仍然得到錯誤:

錯誤詳細

Unknown host: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 

回答

3

確定。對於任何人誰遇到這個問題,而不必花幾個小時拉你的頭髮,我好不容易纔得到工作的連接:

https://groups.google.com/forum/#!topic/lucee/BPm8vYdgkPQ

這是從下面的鏈接採取

謝謝多米尼克·沃森

我只是嘗試這樣做,得到它的工作:

  1. 登錄Lucee 服務器管理,並導航到「SSL證書」
  2. 在Host字段中輸入主機名「establishmindfulness.com」(不帶引號)
  3. 命中「列表」按鈕
  4. 點擊「安裝」按鈕

就是這樣。 cfhttp調用開始工作。