Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Most importantly, ensure that $KEYSTORE_ALIAS matches the publicly-accessible hostname of the machine that will be using this keystore. To generate a new keystore, run the following command (on one line):

Code Block
languagebash
themerdark
$ 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_FILE

...


-storetype pkcs12 

...


-validity 7300