MicroStrategy ONE
Enable Encryption for trustStore Secret Values
Encrypting keystores is a fundamental security practice that helps safeguard sensitive cryptographic material, maintains confidentiality, and ensures compliance with regulatory standards. It is an integral part of a comprehensive security strategy to protect digital assets and maintain the integrity and trustworthiness of cryptographic systems.
The configuration was last updated in MicroStrategy ONE Update 12. See the following steps to enable the encryption of secret values in your environment using one of the following methods:
MicroStrategy Library
- Open the configOverride.properties config file, which is located in Tomcat Folder/webapps/MicroStrategyLibrary/WEB-INF/classes/config/configOverride.properties.
- Add the propertyEncryptionEnabled = true flag and save the file.
- Restart the Service. The existing values will be encrypted automatically.
MicroStrategy Web
- Open the sys_defaults.properties config file, which is located in Tomcat Folder/webapps/MicroStrategy/WEB-INF/xml/sys_defaults.properties.
- Add the propertyEncryptionEnabled=1 flag and save the file.
- Restart the Service. The existing values will be encrypted automatically.
If the file does not exist, you must create it manually.
MicroStrategy Modeling Service
- Open the modelservice.properties customized file, which is located in ${installPath}/admin/modelservice.conf.
- Add the modelservice.featureflag.propertyEncryptionEnabled = true flag and save the file.
- Restart the Service. The existing values will be encrypted automatically.
MicroStrategy Collaboration Service
- Run the MicroStrategy\Collaboration Server\node_modules\mstr-collab-svc\encrypt.js encryption script to encrypt the identityToken.secretKey string.
- Copy the encrypted identityToken.secretKey string to MicroStrategy\Collaboration Server\config.json as property "secretKey": XXXXX.
- Fill the "secretKeyEncrypted" : true flag to indicate that the secretKey string is encrypted.
If the flag does not exist, you must create it manually.