Reputation: 11
After enable of
<transport clientCredentialType="Certificate" />
from
<transport clientCredentialType="None" />
I'm getting the error shown here while accessing the REST service.
The exception message is:
The SSL settings for the service 'SslRequireCert' does not match those of the IIS 'None'
System.NotSupportedException: The SSL settings for the service 'SslRequireCert' does not match those of the IIS 'None'.
Upvotes: 1
Views: 544
Reputation: 3974
After changing clientCredentialType to Certificate, the WCF service needs to accept the client's certificate. If WCF is deployed in IIS, the certificate will be ignored by default, which requires you to enable.
Choose to accept client certificate.
UPDATE
This may be caused by the web app ignoring the client's certificate. You can configure the web app in Azure to accept the certificate from the client:
For more details you can refer to the link below:
https://learn.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth
Upvotes: 1