[BUG] OpenSSLTest is not using the OpenSSL Provider #2208
Labels
bug
Something isn't working
help wanted
Community contributions are especially encouraged for these issues.
triaged
Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
OpenSSLTest is a subclass of SSLTest and ensures that the OpenSSL Provider from netty tcnative can be used to provide SSL for the cluster. See the output of
OpenSSLTest.testHttpsAndNodeSSLKeyPass
below and see that the test is actually using the JDK SSL provider:These 2 PRs may be related: #422 and #1649 - since
tcnative
is not available on the classpath at runtime it will pick the built in JDK provider.I believe the test is working because this block will return the JDK provider instead of the OpenSSL provider so that cluster is still able to setup SSL: https://github.com/opensearch-project/security/blob/main/src/main/java/org/opensearch/security/ssl/DefaultSecurityKeyStore.java#L161-L169
There is no specific assertion in the test to ensure it was brought up with the OpenSSL provider.
The text was updated successfully, but these errors were encountered: