Skip to content

Commit

Permalink
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest faile…
Browse files Browse the repository at this point in the history
…d with Connection failed for no credentials

Reviewed-by: phh
Backport-of: ee5b32591130f560b90ec2cea7ab40d0612ecb8d
  • Loading branch information
Alexey Bakhtin committed Aug 13, 2024
1 parent d4adbe3 commit 09bab6e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions jdk/test/sun/management/jmxremote/bootstrap/ssl/Readme.txt
Original file line number Diff line number Diff line change
@@ -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 modified jdk/test/sun/management/jmxremote/bootstrap/ssl/keystore
Binary file not shown.
Binary file modified jdk/test/sun/management/jmxremote/bootstrap/ssl/truststore
Binary file not shown.

1 comment on commit 09bab6e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.