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.
- duplicates
-
JBEAP-30666 (8.1.z) RHEL10 missing wildfly openssl natives in server
-
- New
-