0 Replies Latest reply on Nov 14, 2017 12:22 PM by maricasta

    Lets encrypt certificate on https configuration on jboss 7.1.1.Final is not working

    maricasta

      Hi

       

      we need support to understand the right configuration

      to install correctly the securety certificate on jboss 7.1.1.Final.

       

      We have a web application deployed into jboss

       

      the standalone.xml is :

       

          <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
              <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
              <!--connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443"/>
              <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
                  <ssl name="ssl" key-alias="tomcat" password="xxxxx" certificate-key-file="../../path/cert.jks" protocol="TLSv1"/>
              </connector-->
              <virtual-server name="default-host" enable-welcome-root="true">
                  <alias name="localhost"/>
                  <alias name="example.com"/>
              </virtual-server>
          </subsystem>

       

       

      where xxxxxis the passowrk of keystore certificate

      and the ../../path/cert.jks is the path of the installed certificate

       

       

      <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:9992}"/>

              <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="osgi-http" interface="management" port="8090"/>

              <socket-binding name="remoting" port="4447"/>

              <socket-binding name="txn-recovery-environment" port="4712"/>

              <socket-binding name="txn-status-manager" port="4713"/>

              <socket-binding name="messaging" port="5445"/>

              <socket-binding name="messaging-throughput" port="5455"/>

              <outbound-socket-binding name="mail-smtp">

                  <remote-destination host="localhost" port="25"/>

              </outbound-socket-binding>

          </socket-binding-group>

       

      We have the problem to have a perfet configuration and certificate that work on jboss

      we have tried lot of guide find into internet but none is working.

       

      Can you help us ?

       

      Many thanks

      Br

      Mariangela