JDBC client can only be configured for SSL with keystores, but we can't use JKS/PKCS12 keystores in FIPS 140-2 mode. Resolves: #66095
This commit is contained in:
parent
40c99e56c3
commit
2fd049cda7
|
@ -1,3 +1,5 @@
|
||||||
|
import org.elasticsearch.gradle.info.BuildParams
|
||||||
|
|
||||||
apply plugin: 'elasticsearch.test-with-ssl'
|
apply plugin: 'elasticsearch.test-with-ssl'
|
||||||
|
|
||||||
testClusters.all {
|
testClusters.all {
|
||||||
|
@ -6,3 +8,8 @@ testClusters.all {
|
||||||
setting 'xpack.security.http.ssl.enabled', 'true'
|
setting 'xpack.security.http.ssl.enabled', 'true'
|
||||||
setting 'xpack.security.transport.ssl.enabled', 'true'
|
setting 'xpack.security.transport.ssl.enabled', 'true'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// JDBC client can only be configured for SSL with keystores, but we can't use JKS/PKCS12 keystores in FIPS 140-2 mode.
|
||||||
|
tasks.withType(Test).configureEach {
|
||||||
|
onlyIf { BuildParams.inFipsJvm == false}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue