Topic: 在tomcat下如何配置部分网页ssl?

  Print this page

1.在tomcat下如何配置部分网页ssl? Copy to clipboard
Posted by: xinlan
Posted on: 2005-06-10 18:40

像监听和过滤一样配置部分才用 ssl?

2.Re:在tomcat下如何配置部分网页ssl? [Re: xinlan] Copy to clipboard
Posted by: scottlai
Posted on: 2005-06-10 19:00

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html

3.Re:在tomcat下如何配置部分网页ssl? [Re: xinlan] Copy to clipboard
Posted by: bluepure
Posted on: 2005-06-17 15:41

如果你的webapp需要只能够进行https方式访问,那么在webapp的web.xml里加上: <security-constraint>
<web-resource-collection>
<web-resource-name>must https</web-resource-name>
<url-pattern>/lizongbo/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>参考:http://jakarta.apache.org/tomcat/faq/security.html#httpshttp://marc.theaimsgroup.com/?l=tomcat-user&m=104951559722619&w=2

4.Re:在tomcat下如何配置部分网页ssl? [Re: xinlan] Copy to clipboard
Posted by: xinlan
Posted on: 2005-06-19 15:36

嘻嘻,用
<transport-guarantee>INTEGRAL</transport-guarantee>
用confidential连打开网页都不行了

5.Re:在tomcat下如何配置部分网页ssl? [Re: xinlan] Copy to clipboard
Posted by: bluepure
Posted on: 2005-06-19 15:59

那是因为你没有把https端口配置好啊。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923