Configure IIS Application Pools

To configure the IIS Application Pools:

  1. If IIS Manger is not already opened, open it: From the Start Menu select Administrative Tools, then select Internet Information Services (IIS) Manager.
  2. Add the Enable application pool to the server:
    1. In the IIS Manager's left navigation tree, expand the folder for your server.
    2. In the left navigation tree, right-click the Application Pools node and select Add Application Pool….
    3. The Add Application Pool window will appear. Edit the configuration options as shown below:
      1. Name: Enable
      2. .NET CLR version: .Net Version v4.0.30319
      3. Managed pipeline mode: Integrated
      4. Start application pool immediately: Check the box.
      5. When you are finished editing the options, click the OK button. The Enable pool will now appear in the Application Pools page.
    4. Set the Enable application pool's advanced settings:
      1. In the Application Pools page, select the Enable application pool, then in the Actions menu on the right, click Advanced Settings…. The Advanced Settings window will appear.
      2. Set the option as shown below: (General):
        • Enable 32-Bit Applications: False

      3. Set the application pool to run as the ewservice user account.
        1. Select the setting: Process Model
          • Identity:

          and click the three dots on the far right.
        2. The Application Pool Identity window will appear. Select Custom account and click the Set button.
        3. Enter the credentials for the ewservice account.
        4. Click the OK button to exit the Application Pool Identity window.
      4. Click the OK button to exit the Enable application pool's advanced settings.
  3. Add the Enable2 application pool to the server:
    1. In the left navigation tree, right-click the Application Pools node and select Add Application Pool….
    2. The Add Application Pool window will appear. Edit the configuration options as shown below:
      1. Name: Enable2
      2. .NET CLR version: .Net Version v4.0.30319
      3. When you are finished editing the options, click the OK button. The Enable2 pool will now appear in the Application Pools page.
    3. Set the Enable2 application pool's advanced settings:
      1. In the Application Pools page, select the Enable2 application pool, then in the Actions menu on the right, click Advanced Settings…. The Advanced Settings window will appear.
      2. Set the following setting: (General):
        • Enable 32-Bit Applications: True

        Note: The Enable 32-Bit Applications setting is set to:
        • Enable application pool = False.

        • Enable2 application pool = True.

      3. Set the application pool to run as the ewservice user account.
        1. Select the setting:
          • Identity:

          and click the three dots on the far right.
        2. The Application Pool Identity window will appear. Select Custom account and click the Set button.
        3. Enter the credentials for theewservice account.
        4. Click the OK button to exit the Application Pool Identity window.
      4. Click the OK button to exit the Enable2 application pool's advanced settings.
  4. Configure the default web site:
    1. In the left navigation tree, expand the Sites folder and select Default Web Site.
    2. In the Actions menu on the right, select Basic Settings. The Edit Site window will open.
    3. Click the Select button to the right of the field for the Application pool. The Select Application Pool window will appear. Use the dropdown list to select Enable2 as the application pool, then click OK to exit the window.
    4. If Application user (pass-through authentication) does not appear above the Connect as button, click the Connect as button. The Connect As window will appear. Select Application user (pass-through authentication), then click OK to exit the window.
    5. Click the Test Settings button to verify the connection. The Test Connection window will open and report that the application pool identity is valid. Click Close to close the window and return to the Edit Site window.
    6. If Publication Manager is configured on the same server that hosts enable-web-server-service, then IIS must be configured to use a port 81 rather than port 80.
      Note: If you are configuring SSO, you will have to configure a second Tomcat, named EnableServerTomcatPubMgr, and configure it to use port 8190. For instructions on configuring a second Tomcat, contact EnterWorks support.
      • To configure IIS to use port 81 if you are not using SSL:
        1. Right-click Default Web Site and click Edit Bindings... The Site Bindings window will open. If the port hasn't already been changed, it will be set to 80.
        2. Select the port binding and click Edit. The Edit Site Binding window will open. Edit the configuration settings as follows:
          • Type: This will be set to http and you cannot change it.

          • IP address: Leave this set to All Unassigned.

          • Port: 81

          • Host Name: This can be left empty.

        3. Click OK to save your changes and exit to the Site Bindings window.
      • To configure IIS to use port 81 if you are configuring SSL:
        1. The customer must provide you with:
          • SSL certificate file in .PFX format

          • The certificate's password.

        2. Copy the SSL certificate file to:
          <drive>:\Enterworks\certs\ssl for iis
        3. Import the certificate to IIS:
          1. In the IIS Manager, select the <server-name> section of the left navigation tree.
          2. Double-click the Server Certificates icon in the center of the screen, to open the Server Certificates window.
          3. In the Actions menu on the right of the window, click Import.
          4. The Import Certificate window will open. Edit the configuration settings as follows:
            • Certificate file (.pfx): Click the ... icon to the right of the entry field and select the SSL certificate file in the folder:

              <drive>:\Enterworks\certs\ssl for iis
            • Password: Enter the password the customer provided you.

            • Select Certificate Store: Open the dropdown and select Web Hosting.

            • Allow this certificate to be exported: Leave this setting as you found it. Checked is acceptable.

          5. When you are finished editing the configuration settings, click OK to return to the Server Certificates window. The certificate should appear in the window.
        4. Right-click Default Web Site and click Edit Bindings... The Site Bindings window will open. If the port hasn't already been changed, it will be set to 80.
        5. You cannot change the type of the binding to https, so you must create a new binding for https, then delete the http binding.
        6. Click the Add... button to the right of the window. The Add Site Binding window will open. Edit the configuration settings as follows:
          • Type: https

          • IP address: Leave this set to All Unassigned.

          • Port: 81

          • Host name: Enter the customer's domain name, for example:

            enable.<customer-name>.com
          • SSL certificate: Click Select ... to select open the Select Certificate window. Select the certificate and click OK.

        7. Click OK to save your changes and exit to the Site Bindings window.
        8. Select the http binding you are replacing, then click Remove. A confirmation window will ask if you are sure you wish to delete the binding. Click Yes.
  5. You are finished configuring the application pools.