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

Knowledge Base

  

Problem

When installing a certificate using keytool, you may experience the following error message:

"keytool error: java.security.cert.CertificateException: Unsupported encoding"


Cause

The keytool is unable to parse the data from the input file properly due to formatting issues.


Resolution

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?
Comments

Privacy Policy