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
如何在Tomcat7中有选择地启用或禁用某些URL的SSL_Tomcat_Ssl - Fatal编程技术网

如何在Tomcat7中有选择地启用或禁用某些URL的SSL

如何在Tomcat7中有选择地启用或禁用某些URL的SSL,tomcat,ssl,Tomcat,Ssl,运输保证是连接必须满足的最低水平。因此,如果最低运输保证为无,则使用TLS是完全有效的 如果要强制切换回TLS,则需要显式地编写代码。选择包括: 在指向要使用http的页面的链接中显式使用http 编写一个重定向到http的筛选器,并将其映射到要用于http的URL <pre> 1. I am using SSL in Tomcat 7, create a keystore and configure server.xml, and also config in web.xm

运输保证是连接必须满足的最低水平。因此,如果最低运输保证为无,则使用TLS是完全有效的

如果要强制切换回TLS,则需要显式地编写代码。选择包括:

  • 在指向要使用http的页面的链接中显式使用http
  • 编写一个重定向到http的筛选器,并将其映射到要用于http的URL
<pre>   1. I am using SSL in Tomcat 7, create a keystore and configure server.xml, and also config in web.xml as below 
 <b>   <security-constraint>
            <web-resource-collection>
                <web-resource-name>SSL</web-resource-name>
                <url-pattern>/inspectionGp/*</url-pattern>
                <url-pattern>/inspection/*</url-pattern>
                <url-pattern>/inspGpDt/*</url-pattern>
                <url-pattern>/inspDt/*</url-pattern>
            </web-resource-collection>
            <user-data-constraint>
                <transport-guarantee>CONFIDENTIAL</transport-guarantee>
            </user-data-constraint>
    </security-constraint>
   3. And another issue, why other the links are https when I click the url which only support https