|
Keytool has several different ways to install the server certificate and root chain,
but the easiest we have found is to import each separately.
For this method, the server certificate and each root chain certificate will need to have
been saved as individual files. If you previously downloaded the root chain certificates as
one single file, you can download them as individual files
here.
If you prefer to use a different method, please refer to the official keytool documentation.
For Java version 1.5.0, that can be found
here.
Please note that unless specified otherwise, all certificates will get installed into
keytool's default keystore.
Import the server certificate:
Type:
keytool -import -alias <myAlias> -file <server.cer>
Make sure to use the same alias name that was used when the keys were originally created.
If the server certificate file (<server.cert>) is not located in the same directory
you are currently working in, then you will need to specify the full path to the file.
Import the root chain certificates:
For each root certificate, type:
keytool -import -alias <aliasName> -file <fileName.cer>
Make sure to use a different alias name for each root certificate, and also different than the
alias name used for the server certificate/ key.
|