[Mono-aspnet-list] WCF basicHttpBinding with certificate based authentication

andreas.mack andreas.mack at zkrd.de
Mon Jun 18 13:56:11 UTC 2012


Hello,

i have successfully implemented and tested a simple wcf 'hello world'
service with basicHttpBinding on Mono 2.10.2.

If i try to limit the access via certificate based authentication i get the
following error (browser):

"When Message security is enabled in a BasicHttpBinding, the message
security credential type must be
BasicHttpMessageCredentialType.Certificate." (Error 500)

This is the relevant part of my Web.config:

   
      
      
         
            
            
         
      

      
         
            
               
               
               
                  
                  
                     
                  
               
            
         
      
      

      
         
            
               
                  
               
            
         
      
      
   

Where should i set the message security credential type to
BasicHttpMessageCredentialType.Certificate if not in the bindings section?

Any help would be greatly appreciated! 

--
View this message in context: http://mono.1490590.n4.nabble.com/WCF-basicHttpBinding-with-certificate-based-authentication-tp4650043.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20120618/2647e977/attachment.html>


More information about the Mono-aspnet-list mailing list