Article - CS300518

Encrypting Database and License keystore password in ThingWorx Platform

Modified: 05-Aug-2025   


Applies To

  • ThingWorx Platform 9.0 to 10.0

Description

  • Encrypting Database and License keystore password in ThingWorx 
  • java com.thingworx.security.keystore.ThingworxKeyStore encrypt.db.password no longer works with Thingworx Installation
  • Cannot encrypt PostgreSQL password
  • encrypt.db.password usage within <Thingworx Platform>\platform-settings.json is not working and results in non-connectivity to the database
  • Command to create a keystore with the PostgreSQL password encrypted inside fails
    • java com.thingworx.security.keystore.ThingworxKeyStore encrypt.db.password <unique postgres_password>
  • Encryption of PostgreSQL password fails with error:
    • Error: Could not find or load main class com.thingworx.security.keystore.ThingworxKeyStore
This is a printer-friendly version of Article 300518 and may be out of date. For the latest version click CS300518