ColdFusion and SSL is giving me a headache.
I have this simple piece of test code.
<cfhttp url="https://10.104.106.113/index.html" port="4433">
<cfdump var="#cfhttp#">
As you can see I am just trying to make a simple http request over SSL to another web server. I just want to confirm connectedness at this time. Real coding will come later.
I am getting the dreaded peer not authorized error.
ErrorDetail I/O Exception: peer not authenticated
I understand that this usually means that one need to import a security certificate in the java cacerts keystore. But I did that some time ago, and there are other applications running that I beleive are using this connections, or at least did in times past.
Running this command on the server making the request I find the expected certificate in the keystore.
$ keytool -list -storepass changeit -noprompt -keystore ../lib/security/cacerts -alias winappdev01
winappdev01, Jun 22, 2010, trustedCertEntry,
Certificate fingerprint (MD5): 0F:D5:BC:E0:AD:87:53:ED:C2:CD:2A:83:65:83:F3:DF
That is as far as I understand how to manage certificates. I have no idea how to test that certificate or in anyway validate it. Can anybody provide me some pointers on where to go from here?
