8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials

Reviewed-by: dfuchs
This commit is contained in:
Jaroslav Bachorik 2015-12-28 12:16:09 +01:00
parent a9a633b1ac
commit ee5b325911
5 changed files with 13 additions and 5 deletions

@ -165,9 +165,6 @@ javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java generi
# 8147985
sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java generic-all
# 8145919
sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh generic-all
############################################################################
# jdk_net

@ -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

@ -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