4 Replies Latest reply: Aug 13, 2012 7:32 AM by Nes Yarug RSS

    Configure HTTPS Connector without SSL?

    Nes Yarug Newbie

      Hi everyone,

       

      Is it possible to configure an HTTPS Connector without SSL?

       

      I.e.:

       

      <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true"/>

       

      without ssl sub-element?

       

      Reason I'm asking as I'm fronting JBoss with a web server and ideally would like to terminate SSL there. However, my Spring application in JBoss still needs to detect the correct incoming scheme (HTTP vs HTTPS) in order to redirect users to secure pages (or back to non-secure).

       

      I've tried the above configuration and can't see anything in the logs that would indicate a problem with that configuration (I do get Starting Coyote HTTP/1.1 on http--127.0.0.1-8443 which I'm not sure is good or bad!).

       

      However, any HTTPS requests to the webserver time out with a Bad Gateway.

       

      Any help appreciated.

       

      Nes