Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3161

Following documentation User gets "server has not been reloaded since the SSL config was added"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.ER6
    • 7.0.0.ER5
    • Documentation
    • None

      Book: How To Configure Server Security
      Revision: n_2098001_how-to-configure-server-security_version_7.0.beta_edition_1.0_release_0-revision_7704423
      Section: 2.2.7.2. Configuring Undertow

      Issue description: Following steps in documentation I get error "java.lang.IllegalStateException: WFLYUT0079: No SSL Context available from security realm. Either the realm is not configured for SSL, or the server has not been reloaded since the SSL config was added.". It is necessary to perform command "reload" between 2nd and 3rd CLI command, or run commands in batch. See comments to https://issues.jboss.org/browse/JBEAP-1700 for details.

      Suggestions for improvement: Run CLI commands in batch.
      batch
      /core-service=management/security-realm=HTTPSRealm/:add
      /core-service=management/security-realm=HTTPSRealm/server-identity= ssl:add(keystore-provider="PKCS11", keystore-password="pass123+")
      /subsystem=undertow/server=default-server/https-listener=https:add(socket-binding=https, security-realm=HTTPSRealm, enabled-protocols="TLSv1,TLSv1.1")
      run-batch

            zrhoads Zach Rhoads (Inactive)
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h