技術文章 - CS323671

Importing a self-signed certificate gives keytool error: java.lang.Exception: Input not an X.509 certificate

修改時間: 20-Jun-2025   


套用到

  • ThingWorx Platform 8.5

描述

  • 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 PDF version of Article 323671 and may be out of date. For the latest version CS323671