Geotrust will email you your certificate. If the certificate is an attachment (Cert.cer), you can use the file. If the certificate is in the body of the email, copy and paste it into a text file using Vi or Notepad. Do not use Microsoft Word or other word processing programs that may add characters.
Enter the following command to import your SSL Certificate:
keytool -import -alias <your_alias_name> -keystore <your_keystore_filename> -file <your_certificate_filename>
NOTE: The alias name in this command must be the same as the alias name used during the generation of the private key and CSR.