Solved

cfhttp equivalent of -insecure or -k in cUrl to ignore a less than adequate CA cert on a https site

Posted on 2011-02-24
3
1,161 Views
Last Modified: 2012-08-13
So I'm posting to an https site in coldfusion cfhttp and am getting failures.  Upon closer look using cURL it seems the site has a less than adequate CA cert.  See below for response back from cURL.

curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile
d
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.


Now if using the -insecure or -k option in cURL it basically ignores this issue with the site cert and goes about its business.  Essentially in all browsers it ignores this, but just lets you know about it and goes about its business.

Coldfusion however, will just straight out fail.  Anyway around this?  is there a -insecure or -k like option in coldfusion that will allow me to ignore this?
0
Comment
Question by:Michin
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
Hammo777 earned 500 total points
ID: 34980814

I believe this is an option in the CFX_HTTP5 tag that you can buy for $50.  You can also download an evaluation version and try it:

http://www.cftagstore.com/tags/cfxhttp5.cfm
0
 
LVL 2

Author Comment

by:Michin
ID: 34980909
ya, I have read up on that.  Really looking for something built into coldfusion without buying anything external to it.  Otherwise I would just use cURL
0
 
LVL 2

Author Closing Comment

by:Michin
ID: 36257763
that indeed was my only option
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now