[TESTS] Mute SNI tests on FIPS 140 JVMs
These tests use a TrustAllConfig TrustManager as they set verification_mode to none, that can't be used in a FIPS 140 JVM.
This commit is contained in:
parent
c42d9d91c9
commit
fc7e7e7d81
|
@ -196,6 +196,7 @@ public abstract class AbstractSimpleSecurityTransportTestCase extends AbstractSi
|
|||
}
|
||||
|
||||
public void testSNIServerNameIsPropagated() throws Exception {
|
||||
assumeFalse("Can't run in a FIPS JVM, TrustAllConfig is not a SunJSSE TrustManagers", inFipsJvm());
|
||||
SSLService sslService = createSSLService();
|
||||
|
||||
final SSLConfiguration sslConfiguration = sslService.getSSLConfiguration("xpack.ssl");
|
||||
|
@ -261,6 +262,7 @@ public abstract class AbstractSimpleSecurityTransportTestCase extends AbstractSi
|
|||
}
|
||||
|
||||
public void testInvalidSNIServerName() throws Exception {
|
||||
assumeFalse("Can't run in a FIPS JVM, TrustAllConfig is not a SunJSSE TrustManagers", inFipsJvm());
|
||||
SSLService sslService = createSSLService();
|
||||
|
||||
final SSLConfiguration sslConfiguration = sslService.getSSLConfiguration("xpack.ssl");
|
||||
|
|
Loading…
Reference in New Issue