CPM - How to configure IIS Application Pool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PAM Self-Hosted Articles
2 min read
L0 Member
No ratings

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

Steps

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.   ka3Vy0000096WQ9IAM__eid=ka3Vy0000096WQ9&feoid=00N2J000009R3kv&refid=0EMHt00000786aU.png
  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.ka3Vy0000096WQ9IAM__eid=ka3Vy0000096WQ9&feoid=00N2J000009R3kv&refid=0EMHt00000786ay.png
  3. Set seAppPoolCredentials
    1. Go to Default Web Site > Configuration Editor
    2. Navigate to System.webserver/Security/authentication/WindowsAuthentication
    3. Set useAppPoolCredentials=Trueka3Vy0000096WQ9IAM__eid=ka3Vy0000096WQ9&feoid=00N2J000009R3kv&refid=0EMHt00000786aP.png

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.ka3Vy0000096WQ9IAM__eid=ka3Vy0000096WQ9&feoid=00N2J000009R3kv&refid=0EMHt00000786aZ.png
  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>

ka3Vy0000096WQ9IAM__eid=ka3Vy0000096WQ9&feoid=00N2J000009R3kv&refid=0EMHt00000786ae.png

 

Configure IIS Application Pool on PVWA

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

ka3Vy0000096WQ9IAM__eid=ka3Vy0000096WQ9&feoid=00N2J000009R3kv&refid=0EMHt00000786br.png

 

 

 

 

Rate this article: