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

On RHEL 10 Wildfly OpenSSL module is not initialized by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 8.1.0.GA-CR10
    • Security, Undertow
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Wildfly OpenSSL module successfull initialization is in server log marked with log message

      INFO  [org.wildfly.openssl.SSL] (MSC service thread 1-2) WFOPENSSL0002 OpenSSL Version OpenSSL 3.2.2 4 Jun 2024
      

      This is not present when running on RHEL10

      Once I explicitly add server parameter

      -Dorg.wildfly.openssl.libwfssl.path=/path/to/eaps/8.1.0.GA-CR10.1/jboss-eap-8.1/modules/system/layers/base/org/wildfly/openssl/main/lib/linux-rhel9-x86_64/libwfssl.so
      

      message is shown and https is configured correctly

      As far as I can tell, problem will be somewhere here https://github.com/wildfly-security/wildfly-openssl/blob/main/java/src/main/java/org/wildfly/openssl/SSL.java#L71C29-L71C57, for some reason that line does not work by default. Is it because we are missing rhel10 library in server? https://issues.redhat.com/browse/JBEAP-30666 Or is it different issue?

      Sidenote (subtask) SSL.java is poor when it comes to log failures. If my assumption is correct and line System.loadLibrary("wfssl"); throws exception, it is not propagated to server log. Any misconfiguration of org.wildfly.openssl system properties is presented in server log as exception.

              Unassigned Unassigned
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: