Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6846315
  • 博文数量: 3857
  • 博客积分: 6409
  • 博客等级: 准将
  • 技术积分: 15948
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-02 16:48
个人简介

迷彩 潜伏 隐蔽 伪装

文章分类

全部博文(3857)

文章存档

2017年(5)

2016年(63)

2015年(927)

2014年(677)

2013年(807)

2012年(1241)

2011年(67)

2010年(7)

2009年(36)

2008年(28)

分类: Java

2013-02-07 19:41:40

原文地址: jboss配置https服务 作者:lvxinzhi

1.用keytool生成server.keystore文件:
C:\Documents and Settings\new>keytool -genkey -alias tc-ssl -keyalg RSA -keystore c:\ExpressPoscard.keystore -validity 3650
生成完后放入C:\jboss-3.2.6\server\default\conf中。
2。配置server.xml文件

                 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。访问,可以了。
同时也可以访问,
如果将http转向到https: 修改WEB应用的web.xml
=========web.xml==================

    
       HtmlAdaptor
       An example security config that only allows users with the
         role JBossAdmin to access the HTML JMX console web application
      

       /
      
    

    
    
            Protection should be CONFIDENTIAL
            CONFIDENTIAL
       

  
阅读(622) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~