﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx<description>By using of the x509 certificate authentication with message security there are many things, which can go wrong. In such cases the problem diagnostic could be very confusing and time intensive. For this reason I used some of calculator examples from the</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#268585<pubdate>Fri, 27 Jan 2012 15:59:34 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:268585</guid><dc:creator>Nishant Pandya</dc:creator><description>&lt;p&gt;For wapt49 &lt;/p&gt;
&lt;p&gt;I think you might be getting this exception because NegotiateServiceCredential property on Server side must be false.&lt;/p&gt;
&lt;p&gt;Either remove it or set it to true&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Nishant&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=268585" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#268586<pubdate>Fri, 27 Jan 2012 15:57:13 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:268586</guid><dc:creator>Nishant Pandya</dc:creator><description>&lt;p&gt;wapt49&lt;/p&gt;
&lt;p&gt;I think you might be getting this exception because NegotiateServiceCredential property would be false. Check your Server binding -&amp;gt; security -&amp;gt; Message section.&lt;/p&gt;
&lt;p&gt;Either remove NegotiateServiceCredential property or set it to true.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Nishant&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=268586" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#12641<pubdate>Fri, 04 Jun 2010 14:03:24 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:12641</guid><dc:creator>Seth A</dc:creator><description>&lt;p&gt;Very good post. &amp;nbsp;I tried one of them from MSDN with no such luck after hours. &amp;nbsp;I spent 30 mins on this one and was up and running.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=12641" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#11342<pubdate>Mon, 12 Apr 2010 18:37:51 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:11342</guid><dc:creator>xeke</dc:creator><description>&lt;p&gt;very helpful. thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=11342" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#10084<pubdate>Thu, 21 Jan 2010 08:52:38 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:10084</guid><dc:creator>Andrey Golovanov</dc:creator><description>&lt;p&gt;Thanks a lot for issue! It helps on certificate configuration.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=10084" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#7329<pubdate>Fri, 21 Aug 2009 09:31:30 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:7329</guid><dc:creator>Frank Xu Lei</dc:creator><description>&lt;p&gt;Very Good .&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=7329" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#9147<pubdate>Fri, 14 Aug 2009 11:15:42 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:9147</guid><dc:creator>wapt49</dc:creator><description>&lt;p&gt;hallo&lt;/p&gt;
&lt;p&gt;im trying to follow your instruction to configure message security X-509 certificate in WCF, but i got exception like this :&lt;/p&gt;
&lt;p&gt;&amp;quot;An unhandled exception of type &amp;#39;System.ServiceModel.Security.SecurityNegotiationException&amp;#39; occurred in mscorlib.dll&lt;/p&gt;
&lt;p&gt;Additional information: Secure channel cannot be opened because security negotiation with the remote endpoint has failed. This may be due to absent or incorrectly specified EndpointIdentity in the EndpointAddress used to create the channel. Please verify the EndpointIdentity specified or implied by the EndpointAddress correctly identifies the remote endpoint.&amp;quot;&lt;/p&gt;
&lt;p&gt;Can you help me maybe why i got this exception? and what is the solution from this kind of exception. Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=9147" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#2495<pubdate>Wed, 23 Jul 2008 20:55:08 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:2495</guid><dc:creator>Damir Dobric</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=2495" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#2491<pubdate>Wed, 23 Jul 2008 16:38:06 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:2491</guid><dc:creator>VG</dc:creator><description>&lt;p&gt;Can I use same certificate on client as well as Server machine?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=2491" width="1" height="1"&gt;</description></item><item><title>re: WCF security: How to configure message security with x509 authentication</title><link />http://developers.de/blogs/damir_dobric/archive/2006/09/24/931.aspx#936<pubdate>Sun, 01 Oct 2006 07:50:57 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:936</guid><dc:creator>Damir Dobric</dc:creator><description>One more example showing x509 authentication can be found &lt;A HREF="/blogs/damir_dobric/archive/2006/10/01/935.aspx"&gt;here&lt;/A&gt;.&lt;BR&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=936" width="1" height="1"&gt;</description></item></channel></rss>