<?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: WCF Could not establish trust relationship for the SSL/TLS secure channel with authority</title>
	<atom:link href="http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html</link>
	<description>programming, software &#38; problem solving</description>
	<lastBuildDate>Mon, 03 Oct 2011 12:19:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Durgesh Vasmatkar</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-14473</link>
		<dc:creator>Durgesh Vasmatkar</dc:creator>
		<pubDate>Wed, 03 Nov 2010 14:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-14473</guid>
		<description>Thanks Mark Huff...
your solution worked perfectly..

Durgesh</description>
		<content:encoded><![CDATA[<p>Thanks Mark Huff&#8230;<br />
your solution worked perfectly..</p>
<p>Durgesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-10771</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Tue, 14 Sep 2010 01:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-10771</guid>
		<description>If in Visual studio, it should prompt you with if trust it, if you click yes, then it should work. What IDE are you using?</description>
		<content:encoded><![CDATA[<p>If in Visual studio, it should prompt you with if trust it, if you click yes, then it should work. What IDE are you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lou</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-10768</link>
		<dc:creator>Lou</dc:creator>
		<pubDate>Tue, 14 Sep 2010 00:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-10768</guid>
		<description>I am facing a similar issue, but I am getting this error as I&#039;m attempting to create the generated proxy for services consumption.  Therefore, modifying client code serves me no purpose.  How does one resolve this issue prior to runtime?</description>
		<content:encoded><![CDATA[<p>I am facing a similar issue, but I am getting this error as I&#8217;m attempting to create the generated proxy for services consumption.  Therefore, modifying client code serves me no purpose.  How does one resolve this issue prior to runtime?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-9004</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Tue, 17 Aug 2010 08:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-9004</guid>
		<description>If the target production certificate is valid. you don&#039;t have to use this method.</description>
		<content:encoded><![CDATA[<p>If the target production certificate is valid. you don&#8217;t have to use this method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abidali</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-8997</link>
		<dc:creator>Abidali</dc:creator>
		<pubDate>Tue, 17 Aug 2010 06:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-8997</guid>
		<description>Hello All,

This solution work perfectly for development purpose. But what i need to do for production release?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello All,</p>
<p>This solution work perfectly for development purpose. But what i need to do for production release?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert nadar</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-8600</link>
		<dc:creator>robert nadar</dc:creator>
		<pubDate>Tue, 10 Aug 2010 12:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-8600</guid>
		<description>thanks dude for the code.. working fine!!!</description>
		<content:encoded><![CDATA[<p>thanks dude for the code.. working fine!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhadelia imran</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-5458</link>
		<dc:creator>bhadelia imran</dc:creator>
		<pubDate>Tue, 27 Apr 2010 07:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-5458</guid>
		<description>It works like charm! Thanks for nice findings</description>
		<content:encoded><![CDATA[<p>It works like charm! Thanks for nice findings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-4941</link>
		<dc:creator>Lucas</dc:creator>
		<pubDate>Mon, 22 Mar 2010 18:03:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-4941</guid>
		<description>Thanks for the solution. it worked perfectly.
i&#039;ve trying to solve this problem for days!!!
thanks again</description>
		<content:encoded><![CDATA[<p>Thanks for the solution. it worked perfectly.<br />
i&#8217;ve trying to solve this problem for days!!!<br />
thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Huff</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-4493</link>
		<dc:creator>Mark Huff</dc:creator>
		<pubDate>Thu, 04 Feb 2010 13:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-4493</guid>
		<description>Try this:
            System.Net.ServicePointManager.ServerCertificateValidationCallback = ((sender, certificate, chain, sslPolicyErrors) =&gt; true);

Before you make any calls.</description>
		<content:encoded><![CDATA[<p>Try this:<br />
            System.Net.ServicePointManager.ServerCertificateValidationCallback = ((sender, certificate, chain, sslPolicyErrors) =&gt; true);</p>
<p>Before you make any calls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sara</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-4468</link>
		<dc:creator>sara</dc:creator>
		<pubDate>Tue, 02 Feb 2010 14:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-4468</guid>
		<description>the web serivice i have to consume is on SSL and the service provider has provided us test certificates..
I created a wrapper in ASMX to access this service, ASMX wrapper is required coz other app like Visual file can&#039;t directly access WCF..
when i run my ASMX wrapper from Asp.net Dev enviroment it works file.. but when i host this ASMX wrapper on IIS i started getting error, as 
Could not establish secure channel for SSL/TLS with authority &#039;uat-portal.swiftcover.com
even i call the code as you have specified to accept all certificates.. plz help</description>
		<content:encoded><![CDATA[<p>the web serivice i have to consume is on SSL and the service provider has provided us test certificates..<br />
I created a wrapper in ASMX to access this service, ASMX wrapper is required coz other app like Visual file can&#8217;t directly access WCF..<br />
when i run my ASMX wrapper from Asp.net Dev enviroment it works file.. but when i host this ASMX wrapper on IIS i started getting error, as<br />
Could not establish secure channel for SSL/TLS with authority &#8216;uat-portal.swiftcover.com<br />
even i call the code as you have specified to accept all certificates.. plz help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-3447</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 09 Nov 2009 06:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-3447</guid>
		<description>If you can set a breakpoint within RemoteCertificateValidate method at the client, you can find out what the actual error is by examining the values of the SslPolicyErrors.  Let us know how it goes. Good luck.</description>
		<content:encoded><![CDATA[<p>If you can set a breakpoint within RemoteCertificateValidate method at the client, you can find out what the actual error is by examining the values of the SslPolicyErrors.  Let us know how it goes. Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harjeet Chandwani</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-3446</link>
		<dc:creator>Harjeet Chandwani</dc:creator>
		<pubDate>Mon, 09 Nov 2009 04:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-3446</guid>
		<description>Below is error what we are getting and we yes we are using https web service but my problem is that if it is working on all the machines dev, INT server and all, than it should work on production server also.


11/8/2009 6:29:54 PM - 
ExceptionMessage:- Could not establish trust relationship for the SSL/TLS secure channel with authority &#039;secure.techfortesco.com&#039;.
ExceptionStackTrace:- 
Server stack trace: 
   at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:</description>
		<content:encoded><![CDATA[<p>Below is error what we are getting and we yes we are using https web service but my problem is that if it is working on all the machines dev, INT server and all, than it should work on production server also.</p>
<p>11/8/2009 6:29:54 PM &#8211;<br />
ExceptionMessage:- Could not establish trust relationship for the SSL/TLS secure channel with authority &#8216;secure.techfortesco.com&#8217;.<br />
ExceptionStackTrace:-<br />
Server stack trace:<br />
   at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)<br />
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)<br />
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)<br />
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)<br />
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)<br />
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)<br />
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)<br />
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)</p>
<p>Exception rethrown at [0]:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-3443</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 08 Nov 2009 23:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-3443</guid>
		<description>@Harjeet Chandwani
I&#039;d suggest you post the error details here and find out the URL from your client app.config. This is really SSL certificate related error message,  I am still suspecting you are using an https url for the web service.</description>
		<content:encoded><![CDATA[<p>@Harjeet Chandwani<br />
I&#8217;d suggest you post the error details here and find out the URL from your client app.config. This is really SSL certificate related error message,  I am still suspecting you are using an https url for the web service.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harjeet Chandwani</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-3435</link>
		<dc:creator>Harjeet Chandwani</dc:creator>
		<pubDate>Sun, 08 Nov 2009 07:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-3435</guid>
		<description>Thanks for the reply. We are not using any certificate on any of the server related to this API. This problem is only coming on production server but it works fine on pre production servers and we have not installed any certificate any where.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. We are not using any certificate on any of the server related to this API. This problem is only coming on production server but it works fine on pre production servers and we have not installed any certificate any where.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-3431</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 07 Nov 2009 22:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-3431</guid>
		<description>@Harjeet Chandwani
Does your production server as the VALID certificate?
Does the SSL certificate subject allows the domain name that you host your webservice? 
Normally, you may find the domain name in the subject field of your certificate.</description>
		<content:encoded><![CDATA[<p>@Harjeet Chandwani<br />
Does your production server as the VALID certificate?<br />
Does the SSL certificate subject allows the domain name that you host your webservice?<br />
Normally, you may find the domain name in the subject field of your certificate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harjeet Chandwani</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-3430</link>
		<dc:creator>Harjeet Chandwani</dc:creator>
		<pubDate>Sat, 07 Nov 2009 21:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-3430</guid>
		<description>Hi Everybody,
We are facing simlar problem on our Production server but it works fine on our Pre-Production server and local dev machines.  Can any one suggest solution for this ?

A quick help will be hightly appreciated.

Thanks and Regards,
Harjeet Chandwani.</description>
		<content:encoded><![CDATA[<p>Hi Everybody,<br />
We are facing simlar problem on our Production server but it works fine on our Pre-Production server and local dev machines.  Can any one suggest solution for this ?</p>
<p>A quick help will be hightly appreciated.</p>
<p>Thanks and Regards,<br />
Harjeet Chandwani.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vladABC</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-3258</link>
		<dc:creator>vladABC</dc:creator>
		<pubDate>Sun, 25 Oct 2009 10:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-3258</guid>
		<description>Thanks a lot

???????, ??? ??? ? ???? ??????????? :)))</description>
		<content:encoded><![CDATA[<p>Thanks a lot</p>
<p>???????, ??? ??? ? ???? ??????????? <img src='http://www.codemeit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bogi</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-2359</link>
		<dc:creator>Bogi</dc:creator>
		<pubDate>Thu, 13 Aug 2009 09:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-2359</guid>
		<description>pffff thank you very much</description>
		<content:encoded><![CDATA[<p>pffff thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sujith</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-2134</link>
		<dc:creator>sujith</dc:creator>
		<pubDate>Wed, 29 Jul 2009 00:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-2134</guid>
		<description>you are a life saver dude... 

cheers</description>
		<content:encoded><![CDATA[<p>you are a life saver dude&#8230; </p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.codemeit.com/wcf/wcf-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority.html/comment-page-1#comment-2081</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Thu, 16 Jul 2009 22:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.codemeit.com/?p=289#comment-2081</guid>
		<description>Works like a pearl...

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Works like a pearl&#8230;</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

