After receiving the signed certificate of your site, the Hub's CA certificate, and the Hub's HTTPS certificate, you will need to import them into your shrine.keystore. Navigating to the shrine.keystore file, you will need to run these commands in order:
To Import the Hub's Central Authority (CA) certificate:
Code Block |
---|
|
$ keytool -import -v -alias $HUB_CA_CERT_ALIAS -file $HUB_CA_CERT_ALIAS.crt -keystore shrine.keystore -storepass $KEYSTORE_PASSWORD |
To Import the Hub's HTTPS certificate:
Code Block |
---|
|
$ keytool -import -v -alias $HUB_HTTPS_CERT_ALIAS -file $HUB_HTTPS_CERT_ALIAS.crt -keystore shrine.keystore -storepass $KEYSTORE_PASSWORD |
To Import Your Site's Signed Private Certificate:
Code Block |
---|
|
$ keytool -import -v -alias $KEYSTORE_ALIAS -file $KEYSTORE_ALIAS.crt -keystore shrine.keystore -storepass $KEYSTORE_PASSWORD -keypass $KEYSTORE_PASSWORD -trustcacerts |
...