1 Reply Latest reply on Feb 1, 2011 3:03 AM by jaikiran pai

    Accept SSL on port 8080 and redirect to port 8443

    Borja Garcia Newbie

      Hi to all,


      The first, excuse me because I'm from Spain and my english could be better.


      I have JBoss 4.2.2 GA installed and I want to accept SSL conections on port 8080 to redirect its to port 8443. Now, my Jboss accept SSL connections in port 8043 as follows https://HOST:8043/myApp but I want in this way https://HOST:8080/myApp and after that redirect the SSL to the port 8043 being transparent to the user.


      I have two connectors in my server.xml file


          <Connector port="8080" address="${jboss.bind.address}"   

               maxThreads="250" maxHttpHeaderSize="8192"

               emptySessionPath="true" protocol="HTTP/1.1"


                           redirectPort="8443" acceptCount="100"

               connectionTimeout="20000" disableUploadTimeout="true" />


      <Connector port="8443" address="${jboss.bind.address}"

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

                maxThreads="150" scheme="https" secure="true"

                clientAuth="true" sslProtocol="TLS"




      Thanks in advance