--- title: "IIS Configuration for PKI" slug: "iis-configuration-for-pki" tags: ["Service Account", "PKI environment", "IIS", "Application Pools"] updated: 2025-11-17T20:38:41Z published: 2025-11-17T20:38:41Z canonical: "mfa.rapididentity.com/iis-configuration-for-pki" --- > ## Documentation Index > Fetch the complete documentation index at: https://mfa.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # IIS Configuration for PKI ## Part 1 - Request Certificate 1. Log into your MFA server **as the Service Account** to create a Windows profile. ![rissa login.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/rissa%20login.png) 1. Run the *mmc*. ![request cert 1 - mmc.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/request%20cert%201%20-%20mmc.png) 1. Click on *File > Add/Remove Snap-in...* ![request cert 2 - add snapin.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/request%20cert%202%20-%20add%20snapin.png) 1. On the left-hand side, highlight *Certificates* and click "Add". Select the option to add it as the "Current User". ![request cert 3 - add certs.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/request%20cert%203%20-%20add%20certs.png) 1. With the Certificates snap-in loaded, expand *Certificates* and right-click *Personal > All Tasks > Request New Certificate...* ![request cert 4 - request new cert.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/request%20cert%204%20-%20request%20new%20cert.png) 1. Click through the wizard with "Next" until you reach the page where you can select your certificates. Select (✓) just your "Enrollment Agent" certificate and click "Enroll". ![request cert 5 - select enrollment agent.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/request%20cert%205%20-%20select%20enrollment%20agent.png) 1. When the enrollment completes, click "Finish". ![request cert 5a - finish.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/request%20cert%205a%20-%20finish.png) 1. Log out of your Service Account's session on the server. --- ## Part 2 - Update Install Path Security Since the Service Account will be what is used for the IIS application pools, this part will be necessary to allow MFA server logs to run whenever they are set to run. 1. Log back into your MFA server with an **administrative account**. 2. Open your file explorer and navigate to: `C:\Program Files\` 3. Right-click on the `\Identity Automation` folder > *Properties*. 4. Go to the **Security tab**. ![ca iis 1 - install properties.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/ca%20iis%201%20-%20install%20properties.png) 5. Click "Edit..." and add your Service Account. ![ca iis 3 - add rissa.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/ca%20iis%203%20-%20add%20rissa.png) 6. Give the account full control over the folder. ![ca iis 2 - securitay.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/ca%20iis%202%20-%20securitay.png) 6a. Click "OK" when finished. 7. Click "OK" to finish with the folder's properties and security step. --- ## Part 3 - Assign IIS Application Pools 1. On your MFA server as an administrative account, open IIS. 2. On the left-hand side, expand your server's name. 3. Click on *Application Pools*. 4. In the center pane, right-click on "oneAppPool40" > *Advanced Settings...* ![iis pool 2.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/iis%20pool%202.png) 1. Scroll down to the *Process Model* section. 2. Click on the ellipses for *Identity*. 6a. A pop-up will appear. Select "Custom account" then click "Set..." ![iis pool 3.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/iis%20pool%203.png) 6b. In the next pop-up, enter your Service Account's credentials and click "OK" when finished. *Be sure to include the domain.* ![iis pool 4.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/iis%20pool%204%281%29.png) 6c. Click "OK" to finish setting the identity. 3. Set *Load User Profile* to "True". ![iis pool 5.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/iis%20pool%205.png) 4. Click "OK" to finish updating the advanced settings. 5. Perform an *iisreset.* --- ### You've completed all of the steps for IIS. You can now move on to the final part and [Create A Smart Card Certificate Set](/v1/docs/create-a-smart-card-certificate-set)!