我在我机器上配置的ssl都好用,但是要在别人机器上也搞一套,http就能访问了,flex这时就娶不到session的值,为什么呢????
我机器上http是不能访问的
有没有人有过类似的经验,拜谢额。。
我机器上http是不能访问的
有没有人有过类似的经验,拜谢额。。
解决方案 »
- 在线等!!!!急用!!!
- JAVA-WEB 权限问题,请教大哥们
- struts 2中模型驱动,如果存在两个javabean类属性,如何写,因为只有一个getModel()方法
- 开发或者购买csdn这样的论坛
- JPOS EFT
- 除了tomcat,有没有其他j2ee容器/服务器能够自动/手动重载改变过的类?注意!不是重载整个webapp,而是局部重载!
- 我借了本2001年的讲Servlet的书,可以看嘛?是不是过于陈旧??
- jsp中sql2000的连接出了什么问题?(Error establishing socket) 急!在线等!
- 请教一个JAVA程序的问题?
- 请教:servlet问题。
- org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
- 青岛有做银行项目的公司不
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8" />在这个里面加上一个redirectPort="8443" 这样用http访问时会自动转到https2、在应用的的web.xml中的welcome-file-list节点后面加上如下的配置
<login-config>
<!-- Authorization setting for SSL -->
<auth-method>CLIENT-CERT</auth-method>
<realm-name>Client Cert Users-only Area</realm-name>
</login-config>
<security-constraint>
<!-- Authorization setting for SSL -->
<web-resource-collection >
<web-resource-name >SSL</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
以上配置是作用是强制现在只能通过https方式访问引用