Skip to content

Commit

Permalink
Mute JDBC client tests with SSL in FIPS mode (elastic#66566) (elastic…
Browse files Browse the repository at this point in the history
…#66747)

JDBC client can only be configured for SSL with keystores,
but we can't use JKS/PKCS12 keystores in FIPS 140-2 mode.

Resolves: elastic#66095
  • Loading branch information
jkakavas authored Dec 22, 2020
1 parent 40c99e5 commit 2fd049c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions x-pack/plugin/sql/qa/jdbc/security/with-ssl/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.elasticsearch.gradle.info.BuildParams

apply plugin: 'elasticsearch.test-with-ssl'

testClusters.all {
Expand All @@ -6,3 +8,8 @@ testClusters.all {
setting 'xpack.security.http.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}
}

0 comments on commit 2fd049c

Please sign in to comment.