Uploaded image for project: 'WildFly OpenSSL'
  1. WildFly OpenSSL
  2. WFSSL-120

Improve logging when Wildfly OpenSSL misconfigured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • None

      Wildfly OpenSSL SSL.java is poor when it comes to log failures in configuration.

      For example during work on https://issues.redhat.com/browse/JBEAP-30668 tried different misconfiguration of org.wildfly.openssl system properties and I expect matching RuntimeException is thrown.

      Or System.loadLibrary("wfssl"); I expects throws exception when there is missing rhel 10 native.

      But none of that Runtime exception is propagated to Administrator of server.

      Only log message emitted from SSL.java is when initialization succeeded https://github.com/wildfly-security/wildfly-openssl/blob/main/java/src/main/java/org/wildfly/openssl/SSL.java#L196, there is

      WFOPENSSL0002 OpenSSL Version OpenSSL
      

      Setting to Critical, because without root cause error message it is very hard to find out what the the problem could be.

              rchakrab Ranabir Chakraborty
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: