author | ssahoo |
Wed, 04 Jul 2018 03:44:32 -0700 | |
changeset 50936 | 00b16d0457e4 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
36013
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
1 |
The trustore and keystore are to be generated as follows: |
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
2 |
|
50936
00b16d0457e4
8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure
ssahoo
parents:
47216
diff
changeset
|
3 |
1. keytool -genkey -alias duke -keyalg RSA -keysize 2048 -validity 36500 -keystore keystore -storepass password |
36013
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
4 |
- use password 'password' for the keystore and key passwords |
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
5 |
- leave all values at default |
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
6 |
- the certificate validity will be 100 years (should be enough for now) |
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
7 |
2. keytool -export -keystore keystore -alias duke -file duke.crt |
50936
00b16d0457e4
8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure
ssahoo
parents:
47216
diff
changeset
|
8 |
3. keytool -import -alias duke -file duke.crt -keystore truststore -storepass trustword |
36013
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
9 |
- use password 'trustword' for the keystore and key passwords |
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
10 |
- leave all values at default |