Article - CS376069
While configuring ThingWorx for SSO encrypting passwords fails with the error "Error initializing from keystore.conf, Failed to create SecurityManager, Failed to load SecretProvider"
Modified: 06-Sep-2022
Applies To
- ThingWorx Platform 8.5 to 9.3
Description
- Following ThingWorx Help Center steps to configure SSO, "Encrypting Passwords for SSO" fails while running the command:
C:\security-common-cli-1.0.0.36\bin> security-common-cli.bat <path to keystore>\keystore.conf
Error:
Failed to create SecurityManager, Failed to load SecretProvider
[L: INFO] [O: c.t.s.SecurityManagerBootstrapper] [T: main] initializing KeyStore provider
[L: ERROR] [O: c.t.s.SecurityManagerBootstrapper] [T: main] Unable to load SecretProvider, {}
java.io.IOException: The system cannot find the path specified at java.base/java.io.WinNTFileSystem.createFileExclusively(Native Method)
Error:
Failed to create SecurityManager, Failed to load SecretProvider
[L: INFO] [O: c.t.s.SecurityManagerBootstrapper] [T: main] initializing KeyStore provider
[L: ERROR] [O: c.t.s.SecurityManagerBootstrapper] [T: main] Unable to load SecretProvider, {}
java.io.IOException: The system cannot find the path specified at java.base/java.io.WinNTFileSystem.createFileExclusively(Native Method)
This is a printer-friendly version of Article 376069 and may be out of date. For the latest version click CS376069