Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/304.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Authentication 即使在安装证书后,coldfusion 9中也会出现连接故障_Authentication_Coldfusion_Ssl Certificate_Coldfusion 9_Cfhttp - Fatal编程技术网

Authentication 即使在安装证书后,coldfusion 9中也会出现连接故障

Authentication 即使在安装证书后,coldfusion 9中也会出现连接故障,authentication,coldfusion,ssl-certificate,coldfusion-9,cfhttp,Authentication,Coldfusion,Ssl Certificate,Coldfusion 9,Cfhttp,当我键入以验证证书时: C:\Coldfusion9\runtime\jre\bin>keytool -list -v -keystore cacerts -alias myexportedcert -storepass changeit 我的命令提示符上显示了以下内容: Alias Name:myexportedxert Creation Date: Aug 22,2014 Entry type: trustedCertentry Owner: some details here E

当我键入以验证证书时:

C:\Coldfusion9\runtime\jre\bin>keytool -list -v -keystore cacerts -alias myexportedcert
 -storepass changeit
我的命令提示符上显示了以下内容:

Alias Name:myexportedxert
Creation Date: Aug 22,2014
Entry type: trustedCertentry
Owner: some details here
Extensions: some details here
在验证之前,我通过键入以下路径添加了证书:

C:\Coldfusion9\runtime\jre\bin>keytool -import -v -alias exported -file C:\ColdFusion9\runtime\jre\lib\security\myexportedcert.cer -keystore cacerts -storepass changeit
我按照Miguel-F提到的步骤进行操作,得到了证书被添加到keystore[Storing Cacerts]消息。然后我重新启动了ColdFusion 9应用程序服务器,但仍然收到连接失败消息

其他信息:

我的ColdFusion管理员中的“Java虚拟机路径”指向:

C:/Program Files/Java/jdk1.6.0_38/jre

是否应该指向
C:/ColdFusion9/runtime/jre

一个常见错误是将证书导入错误的密钥库。听起来这就是正在发生的事情。您需要将其导入到CF服务器实际使用的jvm中。在您的情况下,ie
C:/ProgramFiles/Java/jdk1.6.0\u 38
。谢谢。事实上,这就是问题所在。这是我们大多数人至少犯过一次的错误;-)很高兴你让它工作了。既然另一个线程已经回答了这个问题,我将投票将这个线程标记为重复。