OpenSearch/x-pack/plugin/core
Ioannis Kakavas ba37e3c4a0
Disable DiagnosticTrustManager in FIPS 140 (#49888)
This commit changes the default behavior for
xpack.security.ssl.diagnose.trust when running in a FIPS 140 JVM.

More specifically, when xpack.security.fips_mode.enabled is true:

- If xpack.security.ssl.diagnose.trust is not explicitly set, the
    default value of it becomes false and a log message is printed
    on info level, notifying of the fact that the TLS/SSL diagnostic
    messages are not enabled when in a FIPS 140 JVM.
- If xpack.security.ssl.diagnose.trust is explicitly set, the value of
    it is honored, even in FIPS mode.

This is relevant only for 7.x where we support Java 8 in which
SunJSSE can still be used as a FIPS 140 provider for TLS. SunJSSE
in FIPS mode, disallows the use of other TrustManager implementations
than the one shipped with SunJSSE.
2020-01-13 17:04:23 +02:00
..
forbidden
licenses Update http-core and http-client dependencies (#46549) 2019-09-12 09:45:29 +02:00
src Disable DiagnosticTrustManager in FIPS 140 (#49888) 2020-01-13 17:04:23 +02:00
build.gradle Improved diagnostics for TLS trust failures (#49669) 2019-11-29 15:01:20 +11:00
snapshot.key