> My application is using cfhttp to interact with another 
> website which is utilizing an SSL certificate. This works 
> well in the production environment.
> However, during development, we're having issues because the 
> dev environment of that other website is utilizing a 
> self-signed certificate which does not have a correct host 
> name. The IT person from that other website has pointed out 
> that in Java it is possible to suppress hostname validation 
> by implementing a "custom" HostnameVerifier which always 
> returns true, but is that possible with Coldfusion? I don't 
> know much about Java and how to utilize it from a CF point of view.
> 
> The error I am getting is: I/O Exception: Name in certificate 
> `abcd.com' does not match host name `xyz.com'
> 
> Does anyone know how to get CF to ignore the SSL error?

If this is your only problem, you could simply add an entry to your
machine's hosts file that maps the name used in the self-signed certificate
to the IP address of the target machine, then use that name in your CFHTTP
request.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275224
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to