author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 36013 | jdk/test/sun/management/jmxremote/bootstrap/ssl/Readme.txt@e513311a6efe |
child 50936 | 00b16d0457e4 |
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 |
|
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
3 |
1. keytool -genkey -alias duke -keystore keystore -validity 36500 |
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 |
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
8 |
3. keytool -import -keystore truststore -alias duke -file duke.crt |
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 |
e513311a6efe
8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
jbachorik
parents:
diff
changeset
|
11 |