CPM - How to configure IIS Application Pool

CPM - How to configure IIS Application Pool

117
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:06 PM


Objective


What are the prerequisites to configure the IIS Application pool in the target server to be managed?



Environment


10.5;10.10;11.3;11.4;11.5;11.7;12.0;12.1;12.2;12.6;13.0;14.0;14.2;14.3 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Procedure


Configuration on IIS Manager

  1. Make sure the target user in IIS pool is configured correctly.
    1. IIS Server > Application Pool > Target Application pool > Right click and select Advanced Settings > Generate Process Model Event L > Identity
    2. Configure with the account that will be used to run this Application pool.   
  2. Set Authentication to Windows Authentication for the Default Website
    1. Click on Default Website > Authentication > Enable Windows Authentication.
    2. Right-click Windows Authentication > Click on Providers…. and make sure "Negotiate" is added and move it to the top.
  3. Set seAppPoolCredentials
    1. Go to Default Web Site > Configuration Editor
    2. Navigate to System.webserver/Security/authentication/WindowsAuthentication
    3. Set useAppPoolCredentials=True

OS configuration on the same server

  1. Configure WMI Control Settings
    1. Open Computer Management > Services and Applications > Right click WMI Control > Properties > Security tab > MicrosoftIISv2 > Security
    2. Make sure the account running the IIS Application pool has full permission. Otherwise, we can assign the account to the local administrators group.
  2. Configuration on Firewall Settings.
    1. Allow WMI (Windows Management Instrumentation)
  3. Run Secpol.msc on CPM server > Local Policies > Security Option > User Account Control: Run All administrators in Admin Approval Mode > Disable

 

Configuration to allow the user to access the website

Perform the below command in the CPM server.

Run CMD in elevated mode

 

  1. We will required to use the SetSPN.exe command to map the username to the website.
    1. SetSPN.exe -l <username>                                    [List]
    2. SetSPN.exe -s <target Website><username>    [add]
    3. SetSPN.exe -d <target Website><username>    [delete]

 

Target Website : HTTP/<website FQDN>

 

Configure IIS Application Pool on PVWA

  1. Enter the target server IIS Application pool name
  2. Enter the target server address

 

 

 

 



Actions
  • Print
  • Copy Link

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