2014-10-10 235 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和私钥一起使用。然后,移动浏览器也将接受连接并保证安全。