Stop disabling disgnostic trust manager in settings (#56916)
Now that #56526 is merged, we do not need to explicitly disable the diagnostic trust manager for all of our test clusters - we do this dynamically in runtime if the combination of java version and JSSE provider dictates that.
This commit is contained in:
parent
60c7832141
commit
35bc386ac4
|
@ -161,8 +161,6 @@ class BuildPlugin implements Plugin<Project> {
|
|||
cluster.systemProperty('javax.net.ssl.trustStorePassword', 'password')
|
||||
cluster.systemProperty('javax.net.ssl.keyStorePassword', 'password')
|
||||
cluster.systemProperty('javax.net.ssl.keyStoreType', 'BCFKS')
|
||||
// Can't use our DiagnosticTrustManager with SunJSSE in FIPS mode
|
||||
cluster.setting 'xpack.security.ssl.diagnose.trust', 'false'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -300,7 +298,7 @@ class BuildPlugin implements Plugin<Project> {
|
|||
throw new GradleException(message)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static configurePrecommit(Project project) {
|
||||
TaskProvider precommit = PrecommitTasks.create(project, true)
|
||||
project.tasks.named(LifecycleBasePlugin.CHECK_TASK_NAME).configure { it.dependsOn(precommit) }
|
||||
|
|
Loading…
Reference in New Issue