Installing the SSL Certificate

  1. To import the root certificate:
    keytool -import -alias root -keystore [path/to/your/keystore]
     -trustcacerts -file [path/to/the/root_certificate]
  2. To import your new certificate:
    keytool -import -alias [youralias] -keystore 
    [path/to/your/keystore] -file [path/to/your_keystore]