我有一个MX7客户谁想要迁移到CF9。 我在我的WinXP机器上为他们设置了一个开发环境,在这台机器上,我configuration了MX7,以便与JRun的内置Web服务器一起运行。 我已经在常规和SSL连接上工作了很长时间。
我昨天与现有的MX7安装并行安装了CF9,开始testing。 安装顺利,检测到MX7,调整了CF9的端口号,以免发生冲突等。testing开始良好:MX7超过常规和SSL仍然工作,CF9工作在普通的HTTP上。 但是我无法使用CF9来使用SSL。 我用keytool安装了一个新的证书,FireFox(v3.6)抱怨它没有签名,我把它添加到例外列表,现在我得到这个:
Secure Connection Failed An error occurred during a connection to localhost:9101. Peer reports it experienced an internal error. (Error code: ssl_error_internal_error_alert)
我一直在谷歌search的所有变化,但无法find很多的帮助,以通过这一点。 我没有看到任何日志文件中的任何信息。 FWIW,这是我的SERVER-INF / jrun.xml中的SSLconfiguration:
<service class="jrun.servlet.http.SSLService" name="SSLService"> <attribute name="enabled">true</attribute>` <attribute name="interface">*</attribute> <attribute name="port">9101</attribute> <attribute name="keyStore">{jrun.rootdir}/lib/mykey</attribute> <attribute name="keyStorePassword">*deleted*</attribute> <attribute name="trustStore">{jrun.rootdir}/lib/trustStore</attribute> <attribute name="socketFactoryName">jrun.servlet.http.JRunSSLServerSocketFactory</attribute> <attribute name="deactivated">false</attribute> <attribute name="bindAddress">*</attribute> <attribute name="clientAuth">false</attribute> </service>
这里的任何人都知道重新设置SSL和CF9的任何问题? 任何人都有成功吗?
戴夫
您必须将以下内容添加到jvm.config文件中的java.args:
-Dcoldfusion.disablejsafe=true
此后,ColdFusion 9的内置Web服务器将接受端口9100上的SSL请求。
戴夫,当你说“我没有看到任何日志文件中的任何信息”,你可以澄清,如果你的意思是[cf] /日志? 他们可能没有帮助。 或者你的意思是你已经检查了[cf] \ runtime \ logs(或者[jrun] \ logs)? 对于这类问题的信息,这些可能更有价值。 在人们开始猜测可能的解决scheme之前,可能会帮助听到他们说的话(如果他们说什么的话)。