2 Replies Latest reply on Jun 22, 2017 5:35 AM by Kiran T O

    Could not connect to remote domain controller - WFLYHC0110: Unable to connect due to SSL failure

    Kiran T O Newbie

      Hi Guys,

       

      I have setup wildfly in my local machine in domain mode and running fine without issues.

       

      However when I try to enable HTTPS for management console the slave node throws error "Could not connect to remote domain controller - WFLYHC0110: Unable to connect due to SSL failure"

      There is no error while starting up the master process.

       

      The error started appearing while starting the slave process.

       

      start domain.bat --host-config=host-master.xml &

      start domain.bat --host-config=host-slave.xml -Djboss.domain.master.address=127.0.0.1 &

       

      Below are the steps taken to enable the management console in SSL:

       

      /host=master/core-service=management/security-realm=ManagementRealm/server-identity=ssl:add(protocol=TLSv1, keystore-path=identity.jks,keystore-relative-to=jboss.domain.config.dir, keystore-password=password1, alias=appserver)

      /host=master/core-service=management/management-interface=http-interface:write-attribute(name=secure-port,value=8443)

      /host=master/core-service=management/management-interface=http-interface:undefine-attribute(name=port)

       

      ******************************************************ERROR**********************************************************************************************************************

       

      *************************************************************************************************************************************************************************************

      [Host Controller] 15:45:18,828 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting

      [Host Controller] 15:45:19,745 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.4.0.Final

      [Host Controller] 15:45:19,757 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.4.0.Final

      [Host Controller] 15:45:20,834 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.21.Final

      [Host Controller] 15:45:20,868 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) WFLYRMT0001: Listening on 127.0.0.1:19999

      [Host Controller] 15:45:21,443 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0001: Could not connect to remote domain controller remote://127.0.0.1:9999 -- java.lang.IllegalStateException: WFLYHC0110: Unable to connect due to SSL failure.

      [Host Controller] 15:45:21,445 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0147: No domain controller discovery options remain.

      [Host Controller] 15:45:21,446 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0002: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: WFLYHC0120: Tried all domain controller discovery option(s) but unable to connect

      [Host Controller] 15:45:21,447 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0178: Aborting with exit code 99

      [Host Controller] 15:45:21,472 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) stopped in 15ms

      15:45:21,937 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) WFLYPC0011: Process 'Host Controller' finished with an exit status of 99

      15:45:21,942 INFO  [org.jboss.as.process] (Thread-8) WFLYPC0017: Shutting down process controller

      15:45:21,943 INFO  [org.jboss.as.process] (Thread-8) WFLYPC0016: All processes finished; exiting