You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/08/11 11:51:56 UTC
[brooklyn-dist] branch master updated: Prioritices TSLv1.2 over 1.1
and other. The same for windows env
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-dist.git
The following commit(s) were added to refs/heads/master by this push:
new f685523 Prioritices TSLv1.2 over 1.1 and other. The same for windows env
new 3360235 This closes #176
f685523 is described below
commit f6855238ab841a43b1d9695938afbdfe144eb8a2
Author: Juan Cabrerizo <ju...@cloudsoft.io>
AuthorDate: Wed Aug 11 12:44:03 2021 +0100
Prioritices TSLv1.2 over 1.1 and other. The same for windows env
---
karaf/features/src/main/resources/resources/bin/setenv | 2 +-
karaf/features/src/main/resources/resources/bin/setenv.bat | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/karaf/features/src/main/resources/resources/bin/setenv b/karaf/features/src/main/resources/resources/bin/setenv
index cd511a6..fcfd024 100644
--- a/karaf/features/src/main/resources/resources/bin/setenv
+++ b/karaf/features/src/main/resources/resources/bin/setenv
@@ -93,7 +93,7 @@ export EXTRA_JAVA_OPTS="-XX:SoftRefLRUPolicyMSPerMB=1 ${EXTRA_JAVA_OPTS}"
export EXTRA_JAVA_OPTS="-Dsun.net.inetaddr.ttl=${DNS_TTL} ${EXTRA_JAVA_OPTS}"
# Set the TLS protocol versions
-export EXTRA_JAVA_OPTS="-Dhttps.protocols=TLSv1.1,TLSv1.2 ${EXTRA_JAVA_OPTS}"
+export EXTRA_JAVA_OPTS="-Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1,SSLv3 ${EXTRA_JAVA_OPTS}"
# Set the persistence directory
export EXTRA_JAVA_OPTS="-Dbrooklyn.persistence.dir=${BROOKLYN_PERSISTENCE_DIR} ${EXTRA_JAVA_OPTS}"
diff --git a/karaf/features/src/main/resources/resources/bin/setenv.bat b/karaf/features/src/main/resources/resources/bin/setenv.bat
index a1ed3c4..8c27d81 100644
--- a/karaf/features/src/main/resources/resources/bin/setenv.bat
+++ b/karaf/features/src/main/resources/resources/bin/setenv.bat
@@ -65,3 +65,5 @@ rem SET KARAF_OPTS
rem Enable debug mode
rem SET KARAF_DEBUG
+rem Set the TLS protocol versions
+SET EXTRA_JAVA_OPTS=-Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1,SSLv3 %EXTRA_JAVA_OPTS%