7 Replies Latest reply on Apr 5, 2012 5:33 PM by toninho

    How do I configure SSL on JBoss 6.1?

    toninho

      Hi all!

       

      I know this question was answered already but I need more help with some others issues.

       

       

      I have my web app, lets call it mywebapp.war, that's running on JBoss 6.1, I already bought an certificate from GeoTrust, to receive it I had generete my .csr and send it to GeoTrust, than they send me instructions to install it, https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page=content&actp=CROSSLINK&id=SO16181 and I followed those using X.509 certificate way. Until now everything seems ok, so I go to jboss/server/default/deploy/jbossweb.sar and edited server.xml this way:


      <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/jboss.keystore"

                 keystorePass="mypasswordfrommykeystore" sslProtocol = "TLS" />

       

      Now if I connec to https://myserverIP:8443/mywebapp its says my certificate is not trust but I still can connect.

       

      In my webhosting I put on my DNS the IP myserverIP, and like my jboss is running in 8443 port, when I put www.mydomain.com.br I cant connect.

       

      If someone can help me I appreciate it. My project is stoped just by this.

       

      Thanks!