CodeSign Project has Exceeded the Maximum Object Count

CodeSign Project has Exceeded the Maximum Object Count

97
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:58 PM


Symptom


In Code Sign Manager Self-Hosted, there is a default configuration (Global) that represents the maximum number of Environments that a given CodeSign project can have. This global configuration is hidden from all UI and console views, but is accessible through the API.

If a customer encounters the following error (or similar) when using cspconfig.exe -listobjects or pkcs11config.exe -listobjects, they have exceeded this default maximum:

“1-122 out of 122
WARNING: Some objects are not available because the maximum object count was exceeded.
SUCCESS: 13 certificates, 109 public keys”



Environment


26.1 TPP/TLSPDC Code Signing

This applies to all Code Sign Manager, Self-Hosted environments including 26.1.



Cause


The global configuration for MaxEnvironmentCount is only set to 100 by default, with no way to control this setting in the UI or Configuration Console.



Resolution


In order to resolve this, the customer can run the following API call to retrieve all the current global configuration:

GET https://codesign.venafi.example/vedsdk/Codesign/GetGlobalConfiguration

The results will include an attribute for “MaxEnvironmentCount”, set at 100. Copy all the results, while increasing the “MaxEnvironmentCount” (200 may be a good place to start), into a new API call to POST the values back into the global configuration:

POST https://codesign.venafi.example/vedsdk/Codesign/SetGlobalConfiguration

Now, you can run the GET Codesign/GetGlobalConfiguration command again to ensure the value was set properly. Try the cspconfig.exe -listobjects or pkcs11config.exe -listobjects commands again to ensure the limit is no longer causing issues.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000017XJCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail