Article - CS323671
Importing a self-signed certificate gives keytool error: java.lang.Exception: Input not an X.509 certificate
Modified: 20-Jun-2025
Applies To
- ThingWorx Platform 8.5
Description
- Keytool error is thrown when trying to import a self-signed certificate according to the guide on Developer's portal https://developer.thingworx.com/en/resources/guides/foundation-windows-install-guide/create-self-signed-ssl-cert
- The error is: keytool error: java.lang.Exception: Input not an X.509 certificate
- Command used for Import is:
keytool -import -alias tomcat9 -file "twkeystore.jks" -keystore "..jrelibsecuritycacerts"
This is a printer-friendly version of Article 323671 and may be out of date. For the latest version click CS323671