Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
是否可以关闭/管理IIS上的SSL连接/会话?_Iis_Ssl_Connection - Fatal编程技术网

是否可以关闭/管理IIS上的SSL连接/会话?

是否可以关闭/管理IIS上的SSL连接/会话?,iis,ssl,connection,Iis,Ssl,Connection,我试图找出是否有来自IIS的某种API或控件允许我以某种方式控制SSL会话,例如关闭会话或请求重新身份验证 一句话,我想问的是,是否有人知道一种管理从C#到IIS 7的SSL连接的方法,类似于Tomcat 7: // Invalidate the SSL Session org.apache.tomcat.util.net.SSLSessionManager mgr = (org.apache.tomcat.util.net.SSLSessionManager) req

我试图找出是否有来自IIS的某种API或控件允许我以某种方式控制SSL会话,例如关闭会话或请求重新身份验证

一句话,我想问的是,是否有人知道一种管理从C#到IIS 7的SSL连接的方法,类似于Tomcat 7:

// Invalidate the SSL Session

org.apache.tomcat.util.net.SSLSessionManager mgr =
    (org.apache.tomcat.util.net.SSLSessionManager)
        request.getAttribute("javax.servlet.request.ssl_session_mgr");
mgr.invalidateSession();
使用此代码,可以关闭SSL连接以防止连接重复使用。我注意到简单的关闭http会话是不够的


有人知道我该怎么做吗?

顺便说一句,如果有人有兴趣知道,firefox behave可以使用这个tomcat解决方案,但是InternetExplorer和chrome的表现不是很好。我还不明白为什么,但我怀疑这与windows CAPI(加密API)有关。