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.
Manually import a certificate
Go to a page on the SSL server in question.
- Double-click the lock icon. Click the Details tab.Click Copy To File. Select the base64 option and save the file. Copy the CER file into C:\ColdFusion9\runtime\jre\lib\security (or whichever JRE ColdFusion is using). Run the following command in the same directory
keytool -import -keystore cacerts -alias giveUniqueName -file filename.cer
But when I try and do a cfhttp call it fails. I suspect that I am saving the certificate in the wrong format.
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.