问题描述
尝试将证书导入ColdFusion10中的cacerts故事。我可以运行这些命令,并获得.cer文件使用这些命令导入。
Trying to do a certificate import into the cacerts story in ColdFusion10. I am able to run these commands and get the .cer file to import using these commands.
- 双击锁定图标。单击详细信息选项卡。单击复制到
文件。选择base64选项并保存文件。将CER文件
复制到C:\ColdFusion9\runtime\jre\lib\security(或者ColdFusion正在使用的任何JRE
)。在同一个
目录中运行以下命令
keytool -import -keystore cacerts -alias giveUniqueName -file filename.cer
但是当我尝试并执行cfhttp调用时失败。我怀疑我以错误的格式保存证书。
But when I try and do a cfhttp call it fails. I suspect that I am saving the certificate in the wrong format.
我使用的是X.509 .der,这是推荐的格式。这是相同的base64吗?有没有人知道这个在CF10的文档?
I am using X.509 .der which is the recommended format. Is this the same base64? Does anyone know the documentation for this on CF10? I did this successfully on CF9 but it does not seem to work on CF10.
推荐答案
我建议使用来自riaforge的Certman确保一切都正确导入
I would suggest using Certman from riaforge just to ensure that everything is being imported correctly
这篇关于导入ColdFusion10的证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!