Author: gaul
Date: Thu Sep 9 13:39:30 2021
New Revision: 49854
Log:
Remove JDK 8 SSL workaround
This prevents later JDKs from successfully running the script.
Modified:
dev/jclouds/verify_jclouds_rc.sh
Modified: dev/jclouds/verify_jclouds_rc.sh
==============================================================================
--- dev/jclouds/verify_jclouds_rc.sh (original)
+++ dev/jclouds/verify_jclouds_rc.sh Thu Sep 9 13:39:30 2021
@@ -20,18 +20,16 @@
set -ex
set -o nounset
+if [ $# -ne 1 ]; then
+ echo "Usage: $0 1.6.3-rc1"
+ exit 1
+fi
RELEASE=$1
curl https://downloads.apache.org/jclouds/KEYS | gpg --import
svn co https://dist.apache.org/repos/dist/dev/jclouds/$RELEASE
-# Try to work around error
-# org.jclouds.http.HttpResponseException:
java.security.cert.CertificateException: Certificates do not conform to
algorithm constraints connecting to PUT https://localhost:39037/ HTTP/1.1
-# Caused by: java.security.cert.CertificateException: Certificates do not
conform to algorithm constraints
-# Caused by: java.security.cert.CertPathValidatorException: Algorithm
constraints check failed on keysize limits. RSA 1024bit key used with
certificate: CN=watson. Usage was tls server
-export MAVEN_OPTS="-Djdk.tls.client.protocols=TLSv1,TLSv1.1
-Djdk.jar.disabledAlgorithms=MD2,MD5"
-
cd $RELEASE
for tarball in `ls *.tar.gz`; do