0 Replies Latest reply on Aug 14, 2015 1:53 PM by bicha

    port ssl works fine in http and https in jboss 7?

    bicha

      Hello.

       

      I have installed this Jboss version in a Linux server: JBoss EAP 6.1.1.GA (AS 7.2.1.Final-redhat-10)

       

      Then, I have configured SSL port in standalone-ha.xml how I show below:

       

              <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">

                  <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443"/>

                  <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>

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

                      <ssl name="ssl" key-alias="myserver" password="1234567" certificate-key-file="/home/jboss/certificados/keystore.myserver" verify-client="false"/>

                  </connector>

                  <virtual-server name="default-host" enable-welcome-root="true">

                      <alias name="localhost"/>

                      <alias name="example.com"/>

                  </virtual-server>

              </subsystem>

       

      Now, i have an application Test called TEST deployed correctly in the server.

       

      Until here, everything is ok. I can check that SSL port works fine using this URL: https://myserver:8443/TEST/services/atm/test.jsp

       

      But my question is ... How is possible that using the URL before with HTTP with SSL port works fine too??? is this correct?

       

      For more information, the socket-binding is this:

       

      <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

              <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

              <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

              <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

              <socket-binding name="ajp" port="8009"/>

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

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

              <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>

              <socket-binding name="jgroups-tcp" port="7600"/>

       

      ...

      </socket-binding-group>

       

      Thanks.