When installing a certificate using keytool, you may experience the following error message:
"keytool error: java.security.cert.CertificateException: Unsupported encoding"
The keytool is unable to parse the data from the input file properly due to formatting issues.
To resolve this problem, try the following:
2 carriage returns have been added at the end of the downloaded certificate file
Begin and End lines have to be edited so that only BEGIN PKCS#7 and END PKCS#7 appears (no blank space).