Consider the following scenario:
- You create a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS).
- You use the WebScriptEnablingBehavior class in the WCF service.
- You configure the WCF service to use a client certificate for Secure Sockets Layer (SSL) authentication. To do this, you set the ClientCredentialType property in the Web.config file to Certificate.
In this scenario, when you run the WCF service, a
System.NotSupportedException exception is thrown and you receive an error message that resembles the following:
The SSL settings for the service 'None' does not match those of the IIS 'Ssl, SslNegotiateCert, SslRequireCert, SslMapCert, Ssl128'.