-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest faile…
…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
Showing
4 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
jdk/test/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
jdk/test/sun/management/jmxremote/bootstrap/ssl/Readme.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file modified
BIN
+227 Bytes
(130%)
jdk/test/sun/management/jmxremote/bootstrap/ssl/truststore
Binary file not shown.
09bab6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review
Issues