Note: The Patriot Utilities program contains tools to complete this setup automatically. See ICA Installation for more information.
These manual instructions are provided for cases where the utility tools are unavailable or manual setup is required.
The self-signed certificate generation utility below requires Windows 8.1 or newer. Users on older Windows versions will need to obtain a trusted SSL certificate from a 3rd party provider, or generate a self-signed certificate using another tool.
Download ICA_Setup.zip and extract the included files. This includes setup scripts and configuration files for setting up ICA.
In the Patriot Data Service installation directory (typically
C:\Program Files (x86)\Patriot Systems\Patriot Data Service\
)
there is a configuration file, PatriotService.exe.config
.
Take a backup of this file, then edit the config file using a text editor. You will usually need to run the text editor as administrator.
Add the following settings if they are missing, otherwise set their values:
Powershell -ExecutionPolicy
AllSigned -File ".\ICA_Password_Generator.ps1"
Open RuntimeConfig.txt and copy the contents to the bottom of the data
service configuration file, to ensure the correct DLL versions are loaded.
Place the new configuration section below the </startup>
line in the existing configuration file.
Save and close the configuration file.
The Patriot Data Service requires an SSL certificate to encrypt communication between the Data Service and the web server. This is a separate certificate than the one between the web server and the end-user customers. Since this is only used internally between the Patriot server and web server, a self-signed certificate can normally be used. A trusted certificate from a 3rd party provider can be used instead, if required.
Use the ICA_Setup.ps1 script to enable the SSL certificate on the data service port. This script should be run on the patriot server. The PortNo value below should match the APIServerPortNo value in the data service configuration file, as above.
Powershell -ExecutionPolicy
AllSigned -File ".\ICA_Setup.ps1" -SelfSigned -DnsNames "patriotserver"
-PortNo 9005
Powershell -ExecutionPolicy
AllSigned -File ".\ICA_Setup.ps1" -Thumbprint "7d 39 3e d0 66 7a 32 6e 4c
bb 68 fc 5c 72 32 88 ff bc 27 d3" -PortNo 9005
Powershell -ExecutionPolicy
AllSigned -File ".\ICA_Setup.ps1" -DeleteExisting -PortNo 9005