Hi
I would like to access my web application from http to https. I have implemented following steps. I am not sure whether I am going right way or not. I have google and find following steps. Guide me if I am wrong.
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>
</bean>
4. Restart the application server and deploy the ear file
Access same URL with https but going to blank page.
Could you please let me know the what could cause the problem. Why my application is not running in https?
Regards
Mohan