JBoss配置HTTPS安全连接
来源:互联网 发布:淘宝网卖什么比较好 编辑:程序博客网 时间:2024/05/21 17:23
1、用keytool生成server.keystore文件:
C:\Documents and Settings\new>keytool -genkey -alias tc-ssl -keyalg RSA -keystor
e c:\server.keystore -validity 3650
生成完后放入C:\jboss-3.2.6\server\default\conf中。
2、配置server.xml文件
<!-- SSL/TLS Connector configuration using the admin devl guide keystore-->
<Connector port="8443" address="${jboss.bind.address}"
maxThreads="100" minSpareThreads="5" maxSpareThreads="15"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/server.keystore"
keystorePass="111111" sslProtocol = "TLS" />
3、访问https://localhost:8443/jmx-console/index.jsp,可以了。
同时http://localhost:8080/jmx-console/index.jsp也可以访问,
如果将http转向到https: 修改WEB应用的web.xml
=========web.xml==================
<security-constraint>
<web-resource-collection>
<web-resource-name>HtmlAdaptor</web-resource-name>
<description>An example security config that only allows users with the
role JBossAdmin to access the HTML JMX console web application
</description>
<url-pattern>/</url-pattern>
<!-- <http-method>GET</http-method>
<http-method>POST</http-method> -->
</web-resource-collection>
<!--<auth-constraint>
<role-name>JBossAdmin</role-name>
</auth-constraint> -->
<user-data-constraint>
<description>Protection should be CONFIDENTIAL</description>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
- JBoss配置HTTPS安全连接
- 在Tomcat中配置https安全连接
- 在Tomcat中配置Https安全连接
- Jboss配置HTTPS说明
- JBOSS配置https
- Jboss配置HTTPS
- jboss配置https
- jboss配置https
- Jboss配置https
- jboss配置https
- jboss配置https
- jboss 下配置https
- Linux下配置https安全连接(ssl加密连接)
- JBOSS的安全配置
- JBOSS的安全配置
- JBOSS的安全配置
- JBOSS安全配置
- jboss安全配置参考
- yii 日志显示mysql执行语句变量内容
- Linux - Cannot assign requested address
- Convert Sorted Array to Binary Search Tree
- 在iOS上实现一个简单的日历控件
- Ubuntu12安装
- JBoss配置HTTPS安全连接
- ubuntu下快速安装adb,fastboot的方法
- 无线AP与无线路由器的区别
- spring 配置异步要点(转载)
- 我回来了
- hadoop集群搭建
- 如何区分一个程序员是“老手“还是“新手“?
- 针对从ios5/6 升级到ios7 的viewcontroller的 生命周期调整说明;
- 匹配URL或者网址