view test/jdk/sun/management/jmxremote/bootstrap/ssl/Readme.txt @ 50936:00b16d0457e4

8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure Summary: Test failure due to unsupported DSA keys Reviewed-by: dfuchs, xuelei
author ssahoo
date Wed, 04 Jul 2018 03:44:32 -0700
parents 71c04702a3d5
children
line wrap: on
line source
The trustore and keystore are to be generated as follows:

1. keytool -genkey -alias duke -keyalg RSA -keysize 2048 -validity 36500 -keystore keystore -storepass password
- 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 -alias duke -file duke.crt -keystore truststore -storepass trustword
- use password 'trustword' for the keystore and key passwords
- leave all values at default