2015-12-28 12:16:09 +01:00
|
|
|
The trustore and keystore are to be generated as follows:
|
|
|
|
|
2018-07-04 03:44:32 -07:00
|
|
|
1. keytool -genkey -alias duke -keyalg RSA -keysize 2048 -validity 36500 -keystore keystore -storepass password
|
2015-12-28 12:16:09 +01:00
|
|
|
- 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
|
2018-07-04 03:44:32 -07:00
|
|
|
3. keytool -import -alias duke -file duke.crt -keystore truststore -storepass trustword
|
2015-12-28 12:16:09 +01:00
|
|
|
- use password 'trustword' for the keystore and key passwords
|
|
|
|
- leave all values at default
|