2 Replies Latest reply: Mar 19, 2012 1:19 PM by Chandramohan Murugananthan RSS

Implement SSL in Jboss-6.1.0.Final

Chandramohan Murugananthan Newbie

Hi

 

I would like to access my web application from http to https.  I have done following steps.

 

1. Created the self signed certificate using following JDK 1.6 command

    keytool -genkey -alias tomcat -keyalg RSA

 

2. Move the keystore to C:\jboss-6.1.0.Final\server\default\conf

 

3. Uncomment following code in the C:\jboss-6.1.0.Final\server\default\deploy\jbossweb.sar\server.xml

 

<!-- SSL/TLS Connector configuration using the admin devl guide keystore   -->

      <Connector protocol="HTTP/1.1" SSLEnabled="true"

           port="${jboss.web.https.port}" address="${jboss.bind.address}"

           scheme="https" secure="true" clientAuth="false"

           keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"

           keystorePass="changeit" sslProtocol = "TLS" />

 

4. Added following code C:\jboss-6.1.0.Final\server\default\conf\bootstrap\security.xml

   <bean name="JBossSSLConfiguration" class="org.jboss.security.ssl.JBossSSLConfiguration">

      <property name="keyStoreURL">chap8.keystore</property>

      <property name="keyStorePassword">changeit</property>

 

4. Restart the application server and deploy the ear file

 

Access same URL with https but going to blank page.

 

Any mistake  / left out in this process ?

 

 

Regards

Mohan