CCP error trying to fetch credentials from CCP and getting error {"ErrorCode":"APPEX003E","ErrorMsg":"The Credential Provider has encountered an error. For more information, see the Credential Provider logs."}

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CCP error trying to fetch credentials from CCP and getting error {"ErrorCode":"APPEX003E","ErrorMsg":"The Credential Provider has encountered an error. For more information, see the Credential Provider logs."}

L3 Networker
10 REPLIES 10

L7 Applicator

Hey @aqueel suleman​ 

The error states to review the logs - what do the logs show?

 

-Matt

L7 Applicator

As Matt says, you'll need to review the logs..

See https://community.cyberark.com/s/article/Enable-Debugging-and-Gather-Logs-Central-Credential-Provider

L3 Networker

logs are here?

D:\Program Files\CyberArk\ApplicationPasswordProvider\Logs

 

nothing mentioning that error code

 

Path seems correct.

Increase the debug per my article , restart cp and replicate error and check the logs.

 

My guess is the credential file might be out of sync or you need to reboot the server .

L4 Transporter

Hi @aqueel suleman​ ,

 

Any recent changes or updates on the CP agent caused this or you are seeing it all of a sudden ? Is the CP AppProvider service running ? Any errors you are seeing in logs ?

 

Thanks

L3 Networker

i'm trying to build two new CCP servers to replace our current two working old CCP servers. before adding them to the load balancer and then removing the older two i want to make sure they work correctly. i'm using the individual IP address for the CCP call on the new ones and they aren't retrieving credentials and throwing vague errors with no error in the log

L3 Networker

APPAudit log states

 

[12/06/2025 | 14:09:45] | :: | APPAU006E Provider Prov_CEIVMAPAS0082 has failed to fetch password with query [Object=OperatingSystem-platformxyz-Cyberarktest01;Safe=test_safe] for application [APP_test_safe] for IP address [x.x.x.123]. Fetch reason: []. Failure reason: [APPAP307E Authentication error for the AIM webservice App ID [AIMWebService]. Reason: APPAP133E Failed to verify application authentication data: Hash "9F831EDD8180FE2869E87B38C3A8786F1E96129B8FC928A4A20CA104BCAB7DFF7924D52844412DD1A1AA3D7ECF71630445E6638EA005E7EE533788B3E9510BD0" is unauthorized]

https://docs.cyberark.com/credential-providers/latest/en/content/ccp/configure_ccpwindows.htm#DefinetheCentralCredentialProviderwebservice

 

Have a look here and make sure you've defined the hash in the application

L3 Networker

i've added the hash of the two new CCP servers to the AIMwebservice application in priv cloud. The IPs were already added

 

web.config in new servers is below

 

<appSettings>

  <add key="AppID" value="AIMWebService"/>

  <!-- Set Trusted proxies IPv4 address list, range or subnet in CIDR format (Allows for IP authentication for proxied application)-->

  <!--<add key="TrustedProxies" value="1.2.3.4, 5.6.7.8-5.6.7.20, 7.8.9.10/24"/>-->

 </appSettings>

 

the older working CCP servers have load balancer IPs. do i need to add those IPs to the new server web.config file? can i test them individually before adding the new servers still don't work? i don't want to add them if there not working and the load balancer masks the issue until i decommission the old CCP servers and then the CCP service is down

 

Trustedproxies tells the ccp to trust an x-forwarded-for header if the traffic comes from those ip addresses . So they're generally used where a load balancer is used and changes the source ip address but added an x-forwarded-for header .

 

See

https://docs.cyberark.com/credential-providers/latest/en/content/ccp/load-balancing-the-central-credential-provider.htm

 

So yes if your old ones have them you'll need them too .

  • 277 Views
  • 10 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!