2014-10-10 251 views
1

我已將SSL證書,SSL證書鏈和證書私鑰上傳到我的OpenShift應用別名,但很明顯,SSL證書鏈域未正確設置。當我點擊這裏:https://www.digicert.com/help/index.htm?host=devassistant.org - 它說:OpenShift:SSLCertificateChainFile未評估

Tip: It looks like this server is running Apache. In most cases, solving this problem is as simple as adding "SSLCertificateChainFile /path/to/DigiCertCA.crt" to your apache configuration file after/near your SSLCertificateFile line. 

但很明顯,我不能這樣做。我現在應該怎麼做?

注意:我以前上傳過沒有SSL證書鏈的SSL證書和證書私鑰,現在我刪除了證書並重新上傳了SSL證書鏈 - 可能導致此問題?

+0

可能重複[https安全證書不可信錯誤在移動通過openshift服務器](http://stackoverflow.com/questions/23713422/https-security-certificate-not-trusted-error-on-mobile-via- openshift-server) – 2014-10-10 16:46:27

+0

沒錯,就是這樣。我已將兩個證書合併到一個文件並將其上載爲SSL證書。謝謝 – hroncok 2014-10-10 17:43:58

回答

2

必須上傳鏈文件最初,否則OpenShift將無法正確處理它:您將在Firefox中收到「sec_error_unkown_issuer」警告。

積分轉到Robin

+0

謝謝!經過數小時的工作,這是解決方案。刪除別名並重新創建它使它工作。 – 2015-07-14 14:10:45

+0

不客氣。 – 2015-07-15 10:46:57

0

只需打開記事本,先複製粘貼你的域名證書,然後是你的根CA證書,然後是你的中間證書。保存爲myapp.pem並上傳到openshift和私鑰一起使用。然後,移動瀏覽器也將接受連接並保證安全。