<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Host name verification in HTTPS</title>
	<atom:link href="http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/</link>
	<description>My Views on ColdFusion, Java and related technologies</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:41:45 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tony T.</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-976</link>
		<dc:creator>Tony T.</dc:creator>
		<pubDate>Sat, 20 Nov 2010 03:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-976</guid>
		<description>Rupesh,
    OK, I see how test would be undefined.  But the real question is am I correctly implementing the custom hostnameVerifier?  I followed the steps above, minus the cfdump and made a call to a secure web service but I still received an error that said the host name did not match the certificate name.  Any thoughts?

Thanks.</description>
		<content:encoded><![CDATA[<p>Rupesh,<br />
    OK, I see how test would be undefined.  But the real question is am I correctly implementing the custom hostnameVerifier?  I followed the steps above, minus the cfdump and made a call to a secure web service but I still received an error that said the host name did not match the certificate name.  Any thoughts?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-974</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Fri, 19 Nov 2010 14:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-974</guid>
		<description>@Tony,
If you see the signature of setDefaultHosnameVerifier(), it returns void. So, the method does not return anything and thus if you assign the result to test,  it will of course be undefined.</description>
		<content:encoded><![CDATA[<p>@Tony,<br />
If you see the signature of setDefaultHosnameVerifier(), it returns void. So, the method does not return anything and thus if you assign the result to test,  it will of course be undefined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony T.</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-971</link>
		<dc:creator>Tony T.</dc:creator>
		<pubDate>Thu, 18 Nov 2010 03:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-971</guid>
		<description>It looks like the code is getting stripped out.  Here&#039;s a version of the code without the cfset tags and the pound signs:

 verifier= CreateObject(&quot;java&quot;,&quot;MyHostnameVerifier&quot;)
 HttpsURLConnection = CreateObject(&quot;java&quot;, &quot;javax.net.ssl.HttpsURLConnection&quot;)t test=HttpsURLConnection.setDefaultHosnameVerifier(veriifer)
cfdump var=&quot;test&quot;
Error: Test is undefined.</description>
		<content:encoded><![CDATA[<p>It looks like the code is getting stripped out.  Here&#8217;s a version of the code without the cfset tags and the pound signs:</p>
<p> verifier= CreateObject(&#8221;java&#8221;,&#8221;MyHostnameVerifier&#8221;)<br />
 HttpsURLConnection = CreateObject(&#8221;java&#8221;, &#8220;javax.net.ssl.HttpsURLConnection&#8221;)t test=HttpsURLConnection.setDefaultHosnameVerifier(veriifer)<br />
cfdump var=&#8221;test&#8221;<br />
Error: Test is undefined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony T.</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-970</link>
		<dc:creator>Tony T.</dc:creator>
		<pubDate>Thu, 18 Nov 2010 03:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-970</guid>
		<description>HI Rupesh,

Here&#039;s the code that got dropped from my last post:




Error: Test is undefined.

Thanks again for the help.</description>
		<content:encoded><![CDATA[<p>HI Rupesh,</p>
<p>Here&#8217;s the code that got dropped from my last post:</p>
<p>Error: Test is undefined.</p>
<p>Thanks again for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-968</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Mon, 15 Nov 2010 14:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-968</guid>
		<description>Hi Tony, I cant see the code that you posted. Can you post that once again?</description>
		<content:encoded><![CDATA[<p>Hi Tony, I cant see the code that you posted. Can you post that once again?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony T.</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-967</link>
		<dc:creator>Tony T.</dc:creator>
		<pubDate>Mon, 15 Nov 2010 02:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-967</guid>
		<description>Hi Rupesh,

    I have a situation that is virtually identical to the one you described above.  I&#039;m trying to access a web service via HTTPS but the host name does not match the certificate name.  I could use some advice on how to actually implement your code.
   I took your code for a simple HostNameVerifier class, compiled it and saved it in the appropriate directory on my server.  The custom class is called MyHostNameVerifier.  I then implemented the following code:






I then get the error message &quot;test is undefined.&quot;

Any advise would be greatly appreciated.  Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Rupesh,</p>
<p>    I have a situation that is virtually identical to the one you described above.  I&#8217;m trying to access a web service via HTTPS but the host name does not match the certificate name.  I could use some advice on how to actually implement your code.<br />
   I took your code for a simple HostNameVerifier class, compiled it and saved it in the appropriate directory on my server.  The custom class is called MyHostNameVerifier.  I then implemented the following code:</p>
<p>I then get the error message &#8220;test is undefined.&#8221;</p>
<p>Any advise would be greatly appreciated.  Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Antonio C Santos</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-912</link>
		<dc:creator>Marco Antonio C Santos</dc:creator>
		<pubDate>Thu, 27 May 2010 19:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-912</guid>
		<description>Hi Rupesh... how to say to CF 8 to ignore host name validation using setDefaultHostnameVerifier.
Cheers</description>
		<content:encoded><![CDATA[<p>Hi Rupesh&#8230; how to say to CF 8 to ignore host name validation using setDefaultHostnameVerifier.<br />
Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bien</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-36</link>
		<dc:creator>Bien</dc:creator>
		<pubDate>Wed, 11 Jul 2007 21:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-36</guid>
		<description>Using com.sun.net.ssl.HttpsURLConnection instead of javax.net.ssl.HttpsURLConnection did the trick for me. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Using com.sun.net.ssl.HttpsURLConnection instead of javax.net.ssl.HttpsURLConnection did the trick for me. Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Allan</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/host-name-verification-in-https/comment-page-1/#comment-35</link>
		<dc:creator>Andy Allan</dc:creator>
		<pubDate>Thu, 24 Nov 2005 15:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/host-name-verification-in-https/#comment-35</guid>
		<description>Excellent posts Rupesh! Keep them coming.</description>
		<content:encoded><![CDATA[<p>Excellent posts Rupesh! Keep them coming.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

