In my case, the solution was:

1. copy file.keystore to jboss/server//conf
   eg: jboss/server/soccer/conf
2. copy file.x509 (or file.csr) to jboss/server//conf

3. add the code in jboss-service.xml under jboss/server//conf

  |     <mbean code="org.jboss.security.plugins.JaasSecurityDomain"
  |             name="Security:service=JaasSecurityDomain,domain=TomcatSSL">
  |             <depends>jboss.security:service=JaasSecurityManager</depends>
  |             <constructor>
  |             <arg type="java.lang.String" value="TomcatSSL" />
  |             </constructor>
  |             <attribute 
name="KeyStoreURL">${jboss.server.home.dir}/conf/file.keystore</attribute>
  |             <attribute name="KeyStorePass">password</attribute>
  |     </mbean>
  | 
4. change server.xml under jboss/server//deploy/jbossweb.....

  |     <!-- SSL/TLS Connector configuration using the admin devl guide 
keystore -->
  |       <Connector port="443" address="${jboss.bind.address}"
  |            maxThreads="100" minSpareThreads="5" maxSpareThreads="15"
  |            scheme="https" secure="true" clientAuth="false"
  |            keystoreFile="${jboss.server.home.dir}/conf/offCA/off.keystore"
  |            keystorePass="offgiss" sslProtocol = "TLS" />
  | 
  |       <!-- A HTTP/1.1 Connector on port 8080 -->
  |       <Connector port="80" address="${jboss.bind.address}"
  |          maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
  |          enableLookups="true" redirectPort="443" acceptCount="100"
  |          connectionTimeout="10000" disableUploadTimeout="true"/>
  | 
5. test: https://localhost/jmx-console

Done.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878954#3878954

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878954


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to