Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2194

Difficulty Enabling SSL for Management Interfaces Using CLI

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.CR1
    • 8.0.0.Alpha4
    • CLI, Management, Security
    • None

      Trying to enable the HTTPS port for the HTTP management interface using the CLI results in the following: -

      [standalone@localhost:9990 /] ./core-service=management/management-interface=http-interface:write-attribute(name=secure-socket-binding, value=management-https)
      Communication error: java.util.concurrent.ExecutionException: Operation failed: Operation failed: Channel closed
      

      Server side the following is logged: -

      17:59:54,193 INFO  [org.jboss.as.server] (management-handler-thread - 4) JBAS015890: Creating http management service using socket-binding (management-http) and secure-socket-binding (management-https)
      17:59:54,212 INFO  [org.jboss.as.server] (management-handler-thread - 4) JBAS015888: Creating http management service using socket-binding (management-http)
      17:59:54,236 WARN  [org.jboss.as.controller.management-operation] (management-handler-thread - 4) JBAS014626: Operation was interrupted before stability could be reached
      

      i.e. What appears to be happening is that as communication is lost with the client the update is being detected as a failure.

      As interface updates do result in restarting the services used to make the updates it may be better to switch these to reload required updates instead of being immediate - also the chances are that security realm updates would be made simultaneously and those also require a reload.

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: