• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFHTTP and SSL

New Here ,
Aug 24, 2006 Aug 24, 2006

Copy link to clipboard

Copied

Hello,

I am in the midst of migrating from BlueDragon to ColdFusion, and I ran across a problem connecting to a remote site via CFHTTP. I am posting XML to the remote site using formfield CFHTTPPARAMs. The code works in BlueDragon, and it works if I connect using http rather than https in ColdFusion (though I cannot connect using http to the production site for security reasons). I am running CFMX 7.02 on Windows.

Attached is the code I use to post. Here is the response:

Charset: [empty string]
ErrorDetail: I/O Exception: Premature EOF encountered
Filecontent: Connection Failure
Header: [undefined struct element]
Mimetype: Unable to determine MIME type of file.
Responseheader: struct [empty]
Statuscode: Connection Failure. Status code unavailable.
Text YES

I have tried importing the site's certificate into the \jrun4\jre\libs\security\cacerts file, thinking that the problem might be an unrecognized certificate, but that didn't help. The site's certificate was issued by Thawte Premium Server CA.

Any suggestions? This could be a major problem with migration if I can't find a resolution.

Thanks in advance for your help,

-- Jim C.

TOPICS
Advanced techniques

Views

473

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 21, 2006 Nov 21, 2006

Copy link to clipboard

Copied

LATEST
For the sake of other's who may have come across this posting and are still searching for the answer... Steven Erat has an excellent summary of the problem which can be caused by SSL_v3. http://www.talkingtree.com/blog/index.cfm/2006/11/14/ColdFusion-Protocol-Tags-CFHTTP-CFINVOKE-CFLDAP...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation