CCP AIMWebService fails with 401.1 - Unauthorized: Access is denied due to invalid credentials

CCP AIMWebService fails with 401.1 - Unauthorized: Access is denied due to invalid credentials

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


Symptom


Sometimes API call to CCP fails with error  '401.1 - Unauthorized: Access is denied due to invalid credentials '.  This article focuses on the scenario when this error is particularly seen  while implementing 'Client certificate Authentication' with 'Anonymous Authentication' enabled for both 'AimWbservice' and 'AimWebservice >> v1.1'

Environment


11.4;11.7;12.0;12.1;12.6;13.0 Credential Providers Central Credential Provider

Cause


This happens due to ''IIS Client certificate Mapping Authentication'  role  is enabled at IIS level.

Resolution


There are two ways to resolve it :

1. Remove the Role

  • Remove this role 'IIS Client certificate Mapping Authentication' from Server Manager by clicking on Manage > 'Remove Roles and Features' > 'Navigate to role'  ( as shown in 1st screenshot below) > Clear Checkbox for 'IIS Client certificate Mapping Authentication'  > Next > Remove

 

image.png

  • Restart IIS.



2. Disable the Role

  • Open IIS Manager > Sites > Default Web Site > Configuration Editor:

system.webServer > security > authentication > iisClientCertificateMappingAuthentication > change "Enabled" from True to False.
 

  • Restart IIS.


image.png



Actions
  • Print
  • Copy Link

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