Share via


WCF: Mutual SSL Client Cert Authentication Guide With Sample App

Issue:

Challenges while we try to use the SSL Mutual Authentication with Client Certificates for WCF service hosted on IIS.

 

Untitled1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untitled2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untitled3

 

 

 

 

 

 

 

 

 

 

 

Untitled5

 

 

 

 

 

 

 

 

 

Untitled6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untitled7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untitled8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untitled10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untitled11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sample app available here:

https://1drv.ms/u/s!ArgnWb8iHXB6gpcwMprYq2z9qoZ_Ug

 

I hope this help!

Saurabh


In case we are working with AMSX Web Service, all above points remains same.

1.        Integrated Mode.
2.       Enable Anonymous Auth (I need to test this, but we can try with Anonymous to keep both WCF and ASMX steps in sync).
3.       Add Client Cert Mapping on the Web Site.
4.       Add Authorization rule to deny Anonymous users.

 

Untitled12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untitled13