I was excited to see that CF8 allowed you to pass a
clientCert in cfhttp. Conveniently, I needed to do this to
integrate with a credit company.
But it doesn't appear to work. In fact, cfhttp is 'undefined'
when using it with clientCert.
I have installed the special Cert file manually.
To 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:\CFusionMX7\runtime\jre\lib\security
(or whichever JRE ColdFusion is using).
Run the following command in the same directory (keytool.exe
is located in C:\CFusionMX7\runtime\jre\bin):
keytool -import -keystore cacerts -alias giveUniqueName -file
When I run it without passing the clientCert, I get a cfhttp
response from the webserver (403)... and error, but at least I get
When I add in the clientCert, cfhttp doesn't appear to work
and I get a cfhttp is undefined error.
Does this feature actually work? Anyone have any