Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ keytool -genkeypair -keysize 2048 -alias $KEYSTORE_ALIAS -dname "CN=$KEYSTORE_ALIAS, OU=$KEYSTORE_HUMAN, O=SHRINE Network, L=$KEYSTORE_CITY, S=$KEYSTORE_STATE, C=$KEYSTORE_COUNTRY" -keyalg RSA -keypass $KEYSTORE_PASSWORD -storepass $KEYSTORE_PASSWORD -keystore $KEYSTORE_FILEshrine.keystore -storetype pkcs12 -validity 7300 |
Most importantly, ensure that $KEYSTORE_ALIAS matches the publicly-accessible hostname of the machine that will be using this keystore.
For example, a sample site might run this:
...
This will generate a shrine.keystore file within the /opt/shrine directory.
You can then verify the creation of the keystore by running:
Code Block | ||||
---|---|---|---|---|
| ||||
$ keytool -list -keystore shrine.keystore -storepass password |
...
$KEYSTORE_PASSWORD |
Overview
Content Tools