ASP.NET Request.ClientCertificate returning empty on IIS 7

前端 未结 3 968
暗喜
暗喜 2021-01-18 09:03

I\'m migrating a web app from an IIS 6 server to an IIS 7 server and I\'m having some troubles with getting the client\'s certificate.

The piece of code that I\'m us

3条回答
  •  后悔当初
    2021-01-18 09:50

    Basically it boils down to the fact that the client can't provide the client certificate. That's why you get the 403.7 error when you require it. I believe you need this:

    http://blogs.msdn.com/b/puneetgupta/archive/2009/08/03/where-is-the-client-certificates-ui-in-iis-7-0.aspx

    Please let me know if this helps.

提交回复
热议问题