<?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: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.</title>
	<atom:link href="http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/feed/" rel="self" type="application/rss+xml" />
	<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/</link>
	<description>Jarosław Dobrzański's technical blog</description>
	<lastBuildDate>Sun, 07 Mar 2010 03:39:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alan Churchill</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-30948</link>
		<dc:creator>Alan Churchill</dc:creator>
		<pubDate>Sun, 21 Feb 2010 05:00:22 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-30948</guid>
		<description>Thank you! Worked first time.</description>
		<content:encoded><![CDATA[<p>Thank you! Worked first time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T.</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-30403</link>
		<dc:creator>T.</dc:creator>
		<pubDate>Mon, 08 Feb 2010 12:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-30403</guid>
		<description>+=1.
This solution worked like a charm for me as well. Problem solved ;-)</description>
		<content:encoded><![CDATA[<p>+=1.<br />
This solution worked like a charm for me as well. Problem solved <img src='http://dobrzanski.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Mck</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-30294</link>
		<dc:creator>Steve Mck</dc:creator>
		<pubDate>Sat, 06 Feb 2010 06:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-30294</guid>
		<description>Thanks, this fixed my problem. I was receiving this error when calling the &quot;Campaign Monitor&quot; API.</description>
		<content:encoded><![CDATA[<p>Thanks, this fixed my problem. I was receiving this error when calling the &#8220;Campaign Monitor&#8221; API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terence</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-30169</link>
		<dc:creator>Terence</dc:creator>
		<pubDate>Thu, 04 Feb 2010 10:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-30169</guid>
		<description>Thanks. work like a charm.</description>
		<content:encoded><![CDATA[<p>Thanks. work like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hidha</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-28880</link>
		<dc:creator>hidha</dc:creator>
		<pubDate>Mon, 11 Jan 2010 00:04:13 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-28880</guid>
		<description>Thanks for the solution. It worked.</description>
		<content:encoded><![CDATA[<p>Thanks for the solution. It worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Parks</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-28500</link>
		<dc:creator>Dennis Parks</dc:creator>
		<pubDate>Mon, 04 Jan 2010 18:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-28500</guid>
		<description>This helped me out too.  Thanks much!</description>
		<content:encoded><![CDATA[<p>This helped me out too.  Thanks much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subhash Maji</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-27759</link>
		<dc:creator>Subhash Maji</dc:creator>
		<pubDate>Mon, 21 Dec 2009 10:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-27759</guid>
		<description>my issue was also solved...
thanks..</description>
		<content:encoded><![CDATA[<p>my issue was also solved&#8230;<br />
thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shrini Viswanathan</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-26974</link>
		<dc:creator>Shrini Viswanathan</dc:creator>
		<pubDate>Tue, 08 Dec 2009 04:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-26974</guid>
		<description>This method is now deprecated. Below is the new code. Thanks for pointing me in the right direction.

System.Net.ServicePointManager.ServerCertificateValidationCallback += delegate(object sender,
                System.Security.Cryptography.X509Certificates.X509Certificate certificate,
                System.Security.Cryptography.X509Certificates.X509Chain chain,
                System.Net.Security.SslPolicyErrors sslPolicyErrors) { return true; };</description>
		<content:encoded><![CDATA[<p>This method is now deprecated. Below is the new code. Thanks for pointing me in the right direction.</p>
<p>System.Net.ServicePointManager.ServerCertificateValidationCallback += delegate(object sender,<br />
                System.Security.Cryptography.X509Certificates.X509Certificate certificate,<br />
                System.Security.Cryptography.X509Certificates.X509Chain chain,<br />
                System.Net.Security.SslPolicyErrors sslPolicyErrors) { return true; };</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katerina Pilchova</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-19735</link>
		<dc:creator>Katerina Pilchova</dc:creator>
		<pubDate>Thu, 02 Jul 2009 14:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-19735</guid>
		<description>Czescz Jarek,

thank you so much, it really helped me :)

katka</description>
		<content:encoded><![CDATA[<p>Czescz Jarek,</p>
<p>thank you so much, it really helped me <img src='http://dobrzanski.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>katka</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Oades</title>
		<link>http://dobrzanski.net/2009/04/01/systemnetwebexception-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/comment-page-1/#comment-18301</link>
		<dc:creator>Lee Oades</dc:creator>
		<pubDate>Wed, 20 May 2009 11:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://dobrzanski.net/?p=284#comment-18301</guid>
		<description>If there is a situation in which multiple delegates responding to this callback makes sense, then += will retain any existing delegates. I&#039;m not sure whether this works in practice - whether the callbacks will all be called until one returns true - or if they all have to return true - or other?

I don&#039;t have enough knowledge of this process to know whether that this a requirement/good idea or not but my gut feeling is that it isn&#039;t.

I think what should actually happen is that if we just want to return true all the time, then assigning (using =) an anonymous delegate once (no need to keep creating and reassigning it) is fine.

If there is to be any logic to whether to return true or false, then it would make sense to create a &quot;real&quot; named method and set it as the handler for this callback.</description>
		<content:encoded><![CDATA[<p>If there is a situation in which multiple delegates responding to this callback makes sense, then += will retain any existing delegates. I&#8217;m not sure whether this works in practice &#8211; whether the callbacks will all be called until one returns true &#8211; or if they all have to return true &#8211; or other?</p>
<p>I don&#8217;t have enough knowledge of this process to know whether that this a requirement/good idea or not but my gut feeling is that it isn&#8217;t.</p>
<p>I think what should actually happen is that if we just want to return true all the time, then assigning (using =) an anonymous delegate once (no need to keep creating and reassigning it) is fine.</p>
<p>If there is to be any logic to whether to return true or false, then it would make sense to create a &#8220;real&#8221; named method and set it as the handler for this callback.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
