Central Credential Provider - 500 Internal Server Error

Central Credential Provider - 500 Internal Server Error

132
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:04 PM


Symptom


When running queries/requests against the CCP Server's AIMWebService from both Windows and Unix, the following error is encountered even though the AIMWebService is working as the 'https://<CCP>/AIMWebService/V1.1/AIM.asmx' site can be accessed:

{"ErrorCode":"Request","ErrorMsg":"for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=<Token>' failed."}


Environment


12.4 Privileged Access Manager (PAM, self-hosted) Central Credential Provider

AAM (Central Credential Provider)



Cause


The CCP Server's AIMWebService '.NET Trust Level' is set to Medium in IIS.
 

  • Medium (web_mediumtrust.config) - Specifies a medium level of code access security, which means that, in addition to High Trust Level restrictions, the ASP.NET application cannot do any of the following things by default:
    • Access files outside the application directory.
    • Access the registry.
    • Make network or web service calls.


Resolution


Set the CCP Server's AIMWebService '.NET Trust Level' to Full in IIS:
 

  1. On the CCP Server
    • Open Internet Information Services (IIS) Manager
      • On the Connections panel, navigate to <Server Hostname> | Sites | Default Web Site | AIMWebService
        • On the center window, under the ASP.NET section, select '.NET Trust Levels'
          • Set 'Trust level' to Full (internal)
NET Trust Levels


Actions
  • Print
  • Copy Link

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