WFLYUT0079: No SSL Context available from security realm 'ApplicationRealm'

Solution Verified - Updated -

Issue

  • We are having issues getting elytron security realm and undertow to work.
  • We are seeing the following error:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.undertow.listener.https: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.https: Failed to start service
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731) [jboss-msc-1.4.11.Final-redhat-00001.jar:1.4.11.Final-redhat-00001]
    at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559) [jboss-msc-1.4.11.Final-redhat-00001.jar:1.4.11.Final-redhat-00001]
    at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
    at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_261]
Caused by: java.lang.IllegalStateException: WFLYUT0079: No SSL Context available from security realm 'ApplicationRealm'. Either the realm is not configured for SSL, or the server has not been reloaded since the SSL config was added.
    at org.wildfly.extension.undertow.HttpsListenerAdd.lambda$configureAdditionalDependencies$0(HttpsListenerAdd.java:111)
    at org.wildfly.extension.undertow.HttpsListenerService.getSsl(HttpsListenerService.java:85)
    at org.wildfly.extension.undertow.HttpsListenerService.startListening(HttpsListenerService.java:142)
    at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:199)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739) [jboss-msc-1.4.11.Final-redhat-00001.jar:1.4.11.Final-redhat-00001]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701) [jboss-msc-1.4.11.Final-redhat-00001.jar:1.4.11.Final-redhat-00001]
    ... 6 more

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7.1.0 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content