Browse Source

Explicitly use TLS 1.2 in Gradle (#63880)

Rene Groeschke 5 years ago
parent
commit
0e0392ca7b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      gradle.properties

+ 4 - 0
gradle.properties

@@ -8,3 +8,7 @@ systemProp.org.gradle.dependency.duplicate.project.detection=false
 
 
 # Enforce the build to fail on deprecated gradle api usage
 # Enforce the build to fail on deprecated gradle api usage
 systemProp.org.gradle.warning.mode=fail
 systemProp.org.gradle.warning.mode=fail
+
+# forcing to use TLS1.2 to avoid failure in vault
+# see https://github.com/hashicorp/vault/issues/8750#issuecomment-631236121
+systemProp.jdk.tls.client.protocols=TLSv1.2