8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
authorjbachorik
Mon, 28 Dec 2015 12:16:09 +0100
changeset 36013 e513311a6efe
parent 36012 2d47efae7da3
child 36014 3d50784f2dc2
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials Reviewed-by: dfuchs
jdk/test/ProblemList.txt
jdk/test/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties.in
jdk/test/sun/management/jmxremote/bootstrap/ssl/Readme.txt
jdk/test/sun/management/jmxremote/bootstrap/ssl/keystore
jdk/test/sun/management/jmxremote/bootstrap/ssl/truststore
--- a/jdk/test/ProblemList.txt	Fri Feb 19 07:56:25 2016 +0000
+++ b/jdk/test/ProblemList.txt	Mon Dec 28 12:16:09 2015 +0100
@@ -165,9 +165,6 @@
 # 8147985
 sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java generic-all
 
-# 8145919
-sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh       generic-all
-
 ############################################################################
 
 # jdk_net
--- a/jdk/test/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties.in	Fri Feb 19 07:56:25 2016 +0000
+++ b/jdk/test/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties.in	Mon Dec 28 12:16:09 2015 +0100
@@ -1,5 +1,5 @@
-com.sun.management.jmxremote.ssl.enabled.cipher.suites=SSL_RSA_WITH_RC4_128_SHA,SSL_RSA_WITH_RC4_128_MD5
+com.sun.management.jmxremote.ssl.enabled.cipher.suites=TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
 com.sun.management.jmxremote.ssl.enabled.protocols=SSLv2Hello,SSLv3,TLSv1
 com.sun.management.jmxremote.ssl.need.client.auth=true
 com.sun.management.jmxremote.authenticate=false
-javax.rmi.ssl.client.enabledCipherSuites=SSL_RSA_WITH_RC4_128_SHA,SSL_RSA_WITH_RC4_128_MD5
+javax.rmi.ssl.client.enabledCipherSuites=TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/test/sun/management/jmxremote/bootstrap/ssl/Readme.txt	Mon Dec 28 12:16:09 2015 +0100
@@ -0,0 +1,11 @@
+The trustore and keystore are to be generated as follows:
+
+1. keytool -genkey -alias duke -keystore keystore -validity 36500
+- use password 'password' for the keystore and key passwords
+- leave all values at default
+- the certificate validity will be 100 years (should be enough for now)
+2. keytool -export -keystore keystore -alias duke -file duke.crt
+3. keytool -import -keystore truststore -alias duke -file duke.crt
+- use password 'trustword' for the keystore and key passwords
+- leave all values at default
+
Binary file jdk/test/sun/management/jmxremote/bootstrap/ssl/keystore has changed
Binary file jdk/test/sun/management/jmxremote/bootstrap/ssl/truststore has changed