Technical Resources
Running on IIS
Running Pimplus on IIS
This article explains how to run Pim+ on IIS. It provides pictorial examples with each step to help you navigate the software's interface. By default, the user interface is accessed through a web server that is integrated right in PimPlus. The integrated web server makes for quick and easy deployment without the need to install and configure IIS.
However, there are certain times when you may prefer to access the PimPlus user interface through IIS and this is fully supported. Reasons to switch to IIS may include corporate policy or the need to use HTTPS/SSL to protect access to the console.
Step 1: Disable the Integrated Web Server
- Go to the e.g.
C:\Program Files\pimplus
folder. - Edit the file called
config.ini
using Notepad. - Look for the section called
[WebServer]
followed by an entry calledEnabled=1
and change it toEnabled=0
.
If the Enabled
line is not present in your config.ini file add it manually under the [WebServer]
section.
- Restart the PimPlus service.
Step 2: Install IIS
- Open Server Manager on your Windows server.
- Click on Add roles and features.
- In the wizard, select Role-based or feature-based installation and click Next.
- Select your server from the server pool and click Next.
- Under Server Roles, check the box for Web Server (IIS).
- Expand the Web Server (IIS) section, then expand Web Server > Application Development.
- Enable the option for ISAPI Extensions.
- Click Next and proceed through the wizard to install IIS and the selected features.
- When the installation is complete, close the wizard.
Step 3: Install a Self-Signed Certificate
- Open the IIS Manager in the Administrative Tools section of the Control Panel.
- Select the top level item which has the same name as the local system.
- On the right-hand side double-click on the item called "Server Certificates".
- In the Actions menu on the very right-hand side select "Create Self-Signed Certificate".
- Enter a name for the certificate and press OK.
- Navigate to the "Default Web Site" item in the IIS Manager.
- Right-click on "Default Web Site" and select "Edit Bindings".
- Use the Add button to add an HTTPS binding on port 443 with your newly created certificate.
- When adding the HTTPS binding, turn on the option labeled "Disable HTTP/2"
- Use the Remove button to remove the HTTP binding on port 80 so that HTTPS/SSL is required to access the site.
Step 4 (Optional): Add the Application
This step is only necessary if multiple sites are running in IIS or if the PIM+ API is being used.
- In the IIS Manager navigate to the "Default Web Site" site under the "Sites" folder.
- Right-click on "Default Web Site" and select "Add Application".
- For the alias specify "PimPlus".
- For the physical path enter e.g.
C:\Program Files\pimplus\Html
.- If you have installed PimPlus in a non-default location use that location instead.
Step 5: Configure Application Pool
- Right-click on "DefaultAppPool" and choose "Advanced Settings".
- Verify "Enable 32-bit Applications" is set to "False" and press OK.
Step 6: Register Components
- Open a command line window with Administrator access.
- Navigate to e.g.
C:\Program Files\pimplus
. - Run
regsvr32 FrameFlowTokenExpander.dll
. - Verify that you get a message indicating the operation succeeded.
- Run the following command:
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers
.
Step 7: Verify HTTPS/SSL Access
- Verify that you can access the user interface through HTTPS/SSL by visiting
https://servername/pim.plus
. - Your web browser may warn about the self-signed certificate before allowing you to proceed.
Step 8: Update Remote Node Configurations
- On each remote node, edit the file
config.ini
in theC:\Program Files\PimPlus
folder. - Edit the
MasterNode
value to start withhttps://
.