CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Sep 2012

    x509 certificate for WCF with username password authentication

    I used the guide lines on the link attached to create my WCF service that uses a custom username password validation. This site talks about creating a certificate using self cert utility which is used in the following section of configuration. Can someone help me understand why the certificate is needed. I don't see any mention of this in the code code username password validator class.
    Guidelines link: http://www.codeproject.com/Articles/...sword-authenti

                <behavior name="Behavior1">
                    <serviceMetadata httpGetEnabled="true" />
                    <serviceDebug includeExceptionDetailInFaults="true" />
                        <serviceCertificate findValue="MyWebSite" 
                              x509FindType="FindBySubjectName" />
                        <userNameAuthentication userNamePasswordValidationMode="Custom"
                            Service.UserNamePassValidator, CustomUsernamePasswordAuth.Service" />
    Last edited by VKDD; September 29th, 2012 at 03:15 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.