I followed the instructions to create a CA and client certificate using the instructions here http://ondrej.wordpress.com/2010/01/24/iis-7-and-client-certificates/. IIS was configured to accept client certificates. No client certificate mapping was used. I tested it last year with IE 10 and was able to parse the client certificate successfully. Recently I returned to the project and found out that the certificate is not present. WireShark did not show the server requesting a client certificate, while last year I was able to see the certificate traffic between the server and the client. The code I am using is simple:
if (Request.ClientCertificate.IsPresent)
{
Console.WriteLine("Client Certificate found!");
}
else
{
Console.WriteLine("No Client Certificate found!");
}
Has anyone seen this problem and if yes what was the solution. I perused almost all the StackOverflow posts regarding client certificates and IIS before posting the question, so please respond with a suggestion not a link to posts I have already seen.
ASP.NET Request.ClientCertificate returning empty on IIS 7
.NET application fails to send client certificate - Win 7 vs Win XP?