<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Load balanced CCP servers sending load balancer IP address. in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398790#M77748</link>
    <description>&lt;P&gt;I'm setting up load balancers for our CCP servers. The load balancer should be configured to use the X-Forwarded-For header and the IP address of the load balancer is the trusted proxy in the web.config file. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However based on the CCP logs it looks like it's authenticating based on the IP address of the load balancer and not the originating machine. Is this the expected behavior? Or should I be able to only have the originating machine in the allowed machine list on the application and I have something configured incorrectly?&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jun 2025 13:52:57 GMT</pubDate>
    <dc:creator>crderosier</dc:creator>
    <dc:date>2025-06-30T13:52:57Z</dc:date>
    <item>
      <title>Load balanced CCP servers sending load balancer IP address.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398790#M77748</link>
      <description>&lt;P&gt;I'm setting up load balancers for our CCP servers. The load balancer should be configured to use the X-Forwarded-For header and the IP address of the load balancer is the trusted proxy in the web.config file. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However based on the CCP logs it looks like it's authenticating based on the IP address of the load balancer and not the originating machine. Is this the expected behavior? Or should I be able to only have the originating machine in the allowed machine list on the application and I have something configured incorrectly?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 13:52:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398790#M77748</guid>
      <dc:creator>crderosier</dc:creator>
      <dc:date>2025-06-30T13:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load balanced CCP servers sending load balancer IP address.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398791#M77749</link>
      <description>&lt;P&gt;There is additional config required .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the docs &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;https://docs.cyberark.com/credential-providers/12.4/en/content/ccp/load-balancing-the-central-credential-provider.htm#&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;If the load balancer replaces the source IP of the routed packets with its own IP, the Central Credential Provider will not be able to IP-authenticate the machine that initiated the password request. To enable the Central Credential Provider to resolve the IP of the machine that initiated the request, apply one of the following configurations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Define the load balancer as a &lt;B&gt;Transparent Proxy&lt;/B&gt; to preserve the source IP of the originator. This way the load balancer does not modify the packet and the Central Credential Provider is not aware that the load balancer is managing the network traffic.&lt;/LI&gt;&lt;LI&gt;Set the load balancer to attach the &lt;B&gt;X-Forwarded-For&lt;/B&gt; header to the routed packets with the specification of the original source IP. This requires configuration in both the load balancer and the Central Credential Provider.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open the web.config on the Central Credential Provider server found in the folder where the web service is installed. Add a list of trusted-proxy IPs (TrustedProxies).&lt;/P&gt;&lt;P&gt;The Central Credential Provider will look up an &lt;B&gt;X-Forwarded-For&lt;/B&gt; header for this list of proxy servers in an attempt to resolve the true originating IP address of the request. If the request is received from a server that is NOT on this list of proxy servers, it will use the IP of the proxy server and not the originating IP.&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Set Trusted proxies ip list (Part of a feature that support ip-auth for machines behind proxies )--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;add key="TrustedProxies" value="1.2.3.4, 5.6.7.8"/&amp;gt;&lt;/P&gt;&lt;P&gt; The X-Forwarded-For header must specify only one IP &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 13:56:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398791#M77749</guid>
      <dc:creator>Mal</dc:creator>
      <dc:date>2025-06-30T13:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load balanced CCP servers sending load balancer IP address.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398792#M77750</link>
      <description>&lt;P&gt;Yes all of the required load balancer steps have been completed and the load balancer IP has been added as a trusted proxy. I've also added the X-Forwarded-For header in the logging for my CCP site in IIS and can see it coming though. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken X-Forwarded-For&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET /AimWebService/api/Accounts AppID=***REDACTED_APP_ID***&amp;amp;Safe=***REDACTED_SAFE_NAME***&amp;amp;Username=***REDACTED_USERNAME*** 443 - ***REDACTED_LOAD_BALANCER_IP*** [User-Agent Redacted] - 400 0 0 49 ***REDACTED_CLIENT_IP***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 19:19:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398792#M77750</guid>
      <dc:creator>crderosier</dc:creator>
      <dc:date>2025-07-02T19:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Load balanced CCP servers sending load balancer IP address.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398793#M77751</link>
      <description>&lt;P&gt;Hi @Conner DeRosier​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried bypassing LB and test direct request to see if correct IP is used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 22:48:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398793#M77751</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-07-02T22:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load balanced CCP servers sending load balancer IP address.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398794#M77752</link>
      <description>&lt;P&gt;Yes, if I call the CCP server directly it works fine and uses the correct IP.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 11:40:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398794#M77752</guid>
      <dc:creator>crderosier</dc:creator>
      <dc:date>2025-07-03T11:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Load balanced CCP servers sending load balancer IP address.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398795#M77753</link>
      <description>&lt;P&gt;Does increasing debug help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Enable debug for Central Credential Provider (Version 12.6 and above)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;5. Open the file C:\inetpub\wwwroot\AIMWebService\web.config&amp;nbsp;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp;Find the line that say &lt;I&gt;&amp;lt;level value="INFO"/&amp;gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and set the value to ALL (verbose).&lt;/P&gt;&lt;P&gt;[CCP Web Service logging is used for troubleshooting purposes only and must be revert to INFO when troubleshooting is completed.]&lt;/P&gt;&lt;P&gt;7.&amp;nbsp;Go to C:\inetpub\wwwroot\AIMWebService and create a new folder, called "logs"&amp;nbsp;&lt;/P&gt;&lt;P&gt;8.&amp;nbsp;Right click the &lt;I&gt;logs folder &amp;gt; Properties &amp;gt; Security &amp;gt; Edit&lt;/I&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;9.&amp;nbsp;There should already be an inherited permission for the IIS_IUSRS group (name may be different depending on your app pool setup).&amp;nbsp;Check the boxes for Allow Modify and Allow Write for IIS_IUSRS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;10.From an elevated command prompt, run "&lt;I&gt;iisreset&lt;/I&gt;" to make the configuration change take effect.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 12:49:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398795#M77753</guid>
      <dc:creator>Mal</dc:creator>
      <dc:date>2025-07-04T12:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load balanced CCP servers sending load balancer IP address.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398796#M77754</link>
      <description>&lt;P&gt;Sort of. I'm seeing more info and I can see only the load balancer IP coming through in that log. Which would explain why CCP is erring. I'm just not sure what additional setup is required on the IIS server when the W3SVC1 log files are showing an X-Forwarded-For header coming through with the client IP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the log example of what I'm seeing coming through in the AIMWebService although I've redacted most of the info. There is a cert error here although it seems to be because we're not using passthrough but we can't use an X-Forwarded-For header with pass through mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS011I CyberArk Central Credential Provider version *******, SDK Protocol version *******&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS001I Start handling request&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS016W User authentication failed&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS025V Client certificate does not exist&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS025V Client certificate does not exist&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS002I Creating WebService request&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS010I WebService request from : [***.***.***.***], AppID: [***], Query: [UserName=***;Safe=***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [RemoteAppID], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [RemoteIPAddress], value is: [LOAD BALANCER IP ADDRESS]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [RemoteOSUser], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [RemoteCertificateSerialNumber], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [RemoteCertificateAttr], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [RequiredProperties], value is: [System.Collections.ArrayList]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [Safe], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [Folder], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [Object], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [QueryFormat], value is: [Exact]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [Query], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [PolicyID], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [UserName], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [Address], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [Database], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [AppID], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [Reason], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [ConnectionPort], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [ConnectionTimeout], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS014V Key is: [FailRequestOnPasswordChange], value is: [***]&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,950 | Request [***] | AIMWS007I Sending request to the Provider&lt;/P&gt;&lt;P&gt;2025-07-07 10:45:31,982 | Request [***] | AIMWS009E Caught exception : APPEX003E The Credential Provider has encountered an error. For more information, see the Credential Provider logs.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 16:01:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/load-balanced-ccp-servers-sending-load-balancer-ip-address/m-p/1398796#M77754</guid>
      <dc:creator>crderosier</dc:creator>
      <dc:date>2025-07-07T16:01:58Z</dc:date>
    </item>
  </channel>
</rss>

