2 Replies Latest reply: Nov 21, 2009 8:54 PM by SaikumarD RSS

    Getting cfhttp to work with a site using a self signed certificate.

    ilssac Community Member

      So, after many years, I finally have my first need to make a cfhttps ssl call to a development server using a self signed certificate.  Expecting to have to do some type of import for this operation, I looked up the documenation and found the instructions on how to save a certificate from the browser and import it into the JRun certifcate library.  I followed these instructions and everthing seems to go well, the keytool reports a sucessful import of the certificate, but this does not seem to help ColdFusion, I sill get this results for my http call.  Can anybody advise how I could debug this problem.

      <cfhttp url="https://10.104.106.113/index.html" port="443">
      index.html <cfoutput>#now()#</cfoutput>
      <cfdump var="#cfhttp#">

       

       

      struct
      Charset[empty string]
      ErrorDetailI/O Exception: peer not authenticated
      FilecontentConnection Failure
      Header[empty string]
      MimetypeUnable to determine MIME type of file.
      Responseheader
      struct [empty]
      StatuscodeConnection Failure.  Status code unavailable.
      TextYES

       

      Thank You

      Ian