0 Replies Latest reply on Oct 1, 2012 4:16 AM by Neetha Lokanath

    Http redirect to https

    Neetha Lokanath Newbie



      I want to redirect my application url http to https ,

      below are the settings of my server.xml file. Jboss version used here is jboss-5.1.0.GA.




      <!-- A HTTP/1.1 Connector on port 8080 -->

            <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"

              enableLookups="true" connectionTimeout="20000" redirectPort="8443" />




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


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

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

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


                 keystorePass="**********" sslProtocol = "TLS" />


      With the above setting url is not getting redirected. But i will  get a expected reponse for both http://abc.com:8080 and https://abc.com:8443.


      Please let me know if any other settings needs to be made.