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

CLI commands for https setup need to be run in batch

    XMLWordPrintable

Description

    Book: How To Configure Server Security
    Revision: n_2307541_how-to-configure-server-security_version_7.0_edition_1.0_release_0-revision_9024981
    Section: 2.2.5. Setting up an SSL/TLS for Applications

    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
    

    This issue is basically clone of JBEAP-3161 for section 2.2.5. Setting up an SSL/TLS for Applications. I have double checked and there is no similar problem in the book.

    Attachments

      Issue Links

        Activity

          People

            rhn-support-chuffman Christian Huffman
            mchoma@redhat.com Martin Choma
            Martin Choma Martin Choma
            Martin Choma Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: