TPF error: Secret Store - Retrieve Secret Failed - InvalidVaultID (Invalid Vault ID)
158
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 13:00 PM
Symptom
The Default SQL Channel log shows a critical error:
Secret Store - Retrieve Secret Failed - InvalidVaultID - SecretStoreMsSql failed to retrieve a Secret, System Error: InvalidVaultID.Environment
24.3;25.1;25.3;26.1 TLSPDC
Cause
This issue occurs when a certificate object in the system has a vault ID that no longer exists in the database. It will typically occur during a certificate download/export.
Resolution
- Run the query below to locate objects that have a missing vault ID.
-
SELECT CONCAT(vco.Parent, '\', vco.Name) AS 'Orphaned Object DN', * FROM v_config_objects vco JOIN v_config_contains attrib ON vco.id = attrib.ObjectId LEFT JOIN store_vault vault ON attrib.IntValue = vault.VaultID WHERE attrib.Attribute IN ('Private Key Vault Id', 'Certificate Vault Id') AND (vault.VaultID IS NULL AND attrib.IntValue IS NOT NULL AND attrib.IntValue <> 0);
-
- Note the "Orphaned Object DN" column for the location of the affected objects.
- Renew the affected certificates to generate new vault IDs.
- Process complete.