-
Bug
-
Resolution: Done
-
Blocker
-
7.0.0.ER5
-
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