Ok thanks Dave I'll look into that idea.

-----Original Message-----
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: 08 April 2015 22:47
To: cf-talk
Subject: Re: I/O Exception: Name in certificate does not match host name


> 3) The dev API is (real domain names replaced with "domain1" and 
> domain2) prerelease-api.domain2.com initially this gave the error:
>
> I/O Exception: Name in certificate `*.domain1.net' does not match host 
> name `prelease-api.domain2.com'
>
> I tried adding to the hosts:
>
> xx.xxx.xxx.xxx          prelease-api.domain1.net
>
> where xx.xxx.xxx.xxx is the resolving IP address of 
> prelease-api.domain2.com
>
> restarted CF and called prelease-api.domain1.net in my CFHTTP request 
> and I get a 404 error, so I no longer get the IO error but I'm not 
> hitting the correct server/application

It's possible they're looking for host headers to figure out how to resolve
requests. You might be able to specify the host header separately within
your CFHTTP request, but I've never tried it to be honest.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360438
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to