|
EnableSSLJBossAS
Explains how to enable SSL on JBoss AS 4.2.x
Featured IntroductionIn order to use the HTTPS sheme in Seam, you have to first enable JBoss AS to accept HTTP connections over SSL. This page describes the necessary steps using a self-signed certificate. DetailsIn this example I'm only using a self-signed certificate, but the procedure would be more or less the same even if you are going to use a certificate from a Certification Authority.
keytool -genkey -keyalg RSA -keystore jbossas.keystore -validity NUMBER_OF_DAYS mv jbossas.keystore ${jboss.home}/server/default/conf/<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" address="${jboss.bind.address}"
keystoreFile="${jboss.server.home.dir}/conf/jbossas.keystore"
keystorePass="PASSWORD_FOR_KEYSTORE"/>https://localhost:8443 Additional ResourcesCheck out the JBoss Wiki for all the details about using SSL with JBoss AS: http://wiki.jboss.org/wiki/SSLSetup |
► Sign in to add a comment
yeah its enable us to hit URL with https. But it also allows to hit with http.
Url has changed to: http://community.jboss.org/wiki/sslsetup
jboss 5 web deployer is configured from deploy/jbossweb.sar/server.xml