This content has been marked as final.
Show 1 reply
-
1. Re: Installing SSL certificate on JBOSS - SSLException
hemax May 24, 2005 3:51 PM (in response to vadim_s)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.