且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

启用S​​SL客户端证书要求在Asp.Net MVC特定的控制器或者动作

更新时间:2023-02-22 16:24:23

我不这么认为。客户端证书的处理和连接协商,这是跌多MVC方式降低过程中IIS或HTTP.sys中映射。如果正在使用的客户端证书用于SSL / TLS相互身份验证,则需要客户端证书只是建立HTTPS会话和连接。

I don't believe so. Client Certificates are handled and mapped in IIS or HTTP.sys during connection negotiation, which is way lower down than MVC. If that client certificate is being used for mutual authentication with SSL/TLS, then the client certificate is needed just to establish a HTTPS session and connection.

这一切发生以及MVC之前,或任何code对于这个问题,是有机会运行。这种情况下在内核中 HTTP.sys将

This all happens well before MVC, or any code for that matter, is given a chance to run. This happens down in the kernel in HTTP.sys.