NoSuchAlgorithmException when trying to use JBCS OpenSSL in EAP 7

Solution Unverified - Updated -

Issue

  • We are trying to configure EAP 7 to use JBCS OpenSSL. The org.wildfly.openssl.path property is set correctly and the libraries exist in the specified directory, but we see the following error:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.core.management.security.realm.ManagementRealm.ssl-context: org.jboss.msc.service.StartException in service org.wildfly.core.management.security.realm.ManagementRealm.ssl-context: WFLYDM0018: Unable to start service
    at org.jboss.as.domain.management.security.SSLContextService.start(SSLContextService.java:108)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.security.NoSuchAlgorithmException: openssl.TLSv1.2 SSLContext not available
    at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
    at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
    at org.jboss.as.domain.management.security.SSLContextService.start(SSLContextService.java:97)
    ... 5 more 

Environment

  • JBoss Enterprise Application Platform (EAP) 7.x
  • JBoss Core Services (JBCS) OpenSSL

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