Revision 2285
Added by Jing Tao over 20 years ago
docs/dev/setupreplication.txt | ||
---|---|---|
2 | 2 |
1. Generate keys in java default key store - $jAVA_HOME/jre/lib/security/cacerts: |
3 | 3 |
keytool -genkey -alias pinetomcat -keyalg RSA -validity 800 -keystore cacerts |
4 | 4 |
Note: when ask you name, you should put your host name, such as "pine.nceas.ucsb.edu" |
5 |
The state name should be full name, e.g. California. |
|
5 | 6 |
|
6 | 7 |
2. Generate certificate: |
7 | 8 |
keytool -export -alias pinetomcat -file pinetomcatjava14.cert -keystore cacerts |
Also available in: Unified diff
Add a note that you should put full name as state name to generate a key. Otherwise, the trustkey will be not recongized.