4 Replies Latest reply on Feb 26, 2018 11:50 PM by Anup Dey

    Setup of multiple virtual hosts with SSL certificates for JBoss-7

    Hemanth Chadaram Newbie

      Hello Team,

       

      Kindly let us know the process of setting up multiple virtual hosts with SSL certificates on Jboss-7. Thank you very much in advance.

        • 3. Re: Setup of multiple virtual hosts with SSL certificates for JBoss-7
          Hemanth Kumar Ch Newbie

          Finally found a fix for my issue. I have created two SSL connectors and assigned two different SSL certificates with different ports. Below please find the information for your reference.

          ============================================================================================================================

          <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" enable-lookups="true" redirect-port="8443" executor="http-executor" max-connections="400"/>

                      <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" redirect-port="8443" secure="true" max-connections="200">

                          <ssl name="ssl" password="XXXX" certificate-key-file="/jboss-as-7.1.1.Final/standalone/configuration/XXXX.keystore" cipher-suite="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA" protocol="TLSv1,TLSv1.1,TLSv1.2" verify-client="false" verify-depth="10" ca-certificate-file="/jboss-as-7.1.1.Final/standalone/configuration/XXXX.keystore" keystore-type="JKS" truststore-type="JKS"/>

                      </connector>

                      <connector name="https2" protocol="HTTP/1.1" scheme="https" socket-binding="https2" redirect-port="9443" secure="true" max-connections="200">

                          <ssl name="ssl" password="YYYY" certificate-key-file="/jboss-as-7.1.1.Final/standalone/configuration/YYYY.keystore" cipher-suite="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA" protocol="TLSv1,TLSv1.1,TLSv1.2" verify-client="false" verify-depth="10" ca-certificate-file="/jboss-as-7.1.1.Final/standalone/configuration/YYYY.keystore" keystore-type="JKS" truststore-type="JKS"/>

                      </connector>

          ==============================================================================================================================

          <socket-binding name="http" port="8080"/>

          <socket-binding name="https" port="8443"/>

          <socket-binding name="https2" port="9443"/>

          ===============================================================================================================================