× SSL247 joins forces with Sectigo CA - Find Out More...
Our accreditations and awards:
0 items Total $0

Knowledge Base



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).

Was this information Useful?

Privacy Policy