我正在尝试在 Flex/Flash 应用程序和 ColdFusion 之间启用 SSL 连接。
我关注了directions outlined in the documentation .然而,当我到达:
Configure Flex
Export the keystore to a certificate by using the keytool utility, with a command similar to the following:
keytool -export -v -alias FlexAssembler -keystore cf.keystore -rfc -file cf.cer
我得到一个 Java IOException:
Keystore was tampered with, or password was incorrect.
密码正确。该文件位于一个封闭的系统中,因此没有人篡改过该文件。我假设我应该将证书导入:
/opt/coldfusion8/funtime/jre/lib/security/cacerts
我曾尝试按照另一个网站的建议删除“JRE cacerts”文件,但失败了。有什么想法吗?
环境:
- ColdFusion 8 开发人员/企业
- 红帽 Linux 企业版 6.0
最佳答案
KeyStore 被篡改,或者密码不正确。没有两种解决方法。
JRE cacerts 文件与另一个文件上的密码问题无关。
关于java - ColdFusion 启用 RMI over SSL 以解决数据管理问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21862362/