User-1000095884 posted
Hi,
What is the correct approach to get client certificate as optional on IIS with SSL in WCF ?
WCF support configuring multiple endpoint for same service. If you want to provide different security restriction according to different client users, you can open different endpoints for the same service ( one endpoint with a binding set security
mode to 'Transport' and clientCredentialType to 'None', another endpoint with a binding set security mode to 'Transport' and clientCredentialType to 'Certificate').
It needs install the certificate on the client machine if there need a certificate.
#How to: Create and Install Temporary Client Certificates in WCF During Development
http://msdn.microsoft.com/en-us/library/ff650751.aspx
I know there is X509CertifcateValidator. I don’t know how to implement it.
Reference on using a custom X509CertificateValidator
#How to use a custom X509CertificateValidator with an IIS hosted WCF service and self-signed client certificate
http://support.microsoft.com/kb/2480671
Best Regards.