Error (Certificate Manager-Self-Hosted): HTTP 500 Failed to load class ID for class EntrustNET CA
Symptom
After upgrading Venafi Trust Protection Platform (TPP) from an older 23.3 version (or older) to a 24.1 version or higher, some users encounter the following HTTP 500 error when loading the Certificate Inventory page: "Failed to load class ID for class EntrustNET CA"
Environment
23.3;24.1;24.3;25.1;25.3;26.1 TPP/TLSPDC TLSPDC
When upgrading Venafi Trust Protection Platform (TPP) from version 23.3 (or older) to a version that is 24.1 or higher, certain prerequisites are checked to ensure the unique database changes from v1 to v2 config will be successful. This built-in prerequisite check loads during the MSI installer wizard and is called the Pre-Flight Utility. It will check for: database disk space (minimum amount required for migrating from v1 to v2 config), object DN length of all objects in the Policy Tree to not exceed max of 254, duplicate objects that might conflict with v1 to v2 config migration, as well as deprecated drivers such as old CA Templates, application objects, etc. After upgrading to 24.1 or higher, the Pre-Flight utility no longer needs to check for the same requirements (because v1 to v2 database config has already completed).
Before proceeding with the upgrade, all items flagged by the Pre-Flight Utility need to be addressed (deleted, renamed, etc.). If this does not take place, unexpected errors and problems can arise.
Cause
Based on this KB article, https://community.cyberark.com/s/article/Updated-Trust-Protection-Platform-24-1---24-3-Upgrade-Processes, if the upgrade completes, but a deprecated CA Template was not properly deleted per the Pre-Flight Utility's warning, that CA Template object will be converted into an Out of Band Certificate CA Template object:
"Obsolete CAs
If previously obsoleted certificate authority objects are found in your environment, this node indicates the names of the objects to be migrated to the 'Out of Band CA' certificate authority type."
Resolution
Navigate to the Policy Tree and delete the obsolete CA Template objects. These will no longer have the settings relevant to the previous configuration, but will in fact look like an Out of Band CA Template. Once all the obsolete CA Template objects have been deleted, the HTTP 500 errors will cease.