Reference: Installing and configuring a MID Server on a Windows machine
This reference includes an example installation and configuration of a ServiceNow MID Server on a machine with Microsoft Windows.
Important: If Tanium or ServiceNow are hosted on-premises, you must configure a MID Server to facilitate communication between Tanium and ServiceNow. A MID Server is not required for a cloud-based environments
Note: This example provides basic guidance. For complete and up-to-date instructions, refer to the ServiceNow documentation and ServiceNow support for any additional assistance required. To view MID Server requirements, see ServiceNow documentation: MID Server system requirements. Contact ServiceNow support for any additional assistance required to set up a MID Server.
Create a MID Server user account
To use a MID Server, create a user account with the mid_server role in ServiceNow.
Sign in to ServiceNow.
In the filter navigator, enter Users . Click System Security > Users and Groups > Users.
Figure 1. From the Service Now filter navigator, click System Security > Users and Grou...
Click New.
Figure 2. Click New to add a new user.
Enter the account details and click Submit.
Figure 3. Specify user details, including User ID, First name, and Last name.
From the table header on the Users page, click Toggle Filters . Under User ID, type the name of the user you just created and press Enter.
Click the name of the user to edit the user details.
On the Roles tab, click Edit....
Figure 4. Click Edit to update the roles
Add the mid_server role to the Roles List column, and then click Save.
Figure 5. Add the mid server role to the user.
Sign out of your ServiceNow instance and then verify that the MID Server user account can sign in to ServiceNow.
If prompted, change the password.
Figure 6. Sign into Service Now with the new user.
When finished, sign out of your ServiceNow instance.
Figure 7. Sign out of Service Now when complete.
Download the MID Server installer
Before you install the MID Server, download the installer file.
Sign in to ServiceNow.
In the filter navigator, enter MID server . Click MID Server > Downloads.
Figure 8. From the Service Now filter navigator, click Mid Server > Downloads.
Download the MID Server installer file.
Figure 9. Click the MID Server installer to download.
Retrieve SSL certificate from your Tanium instance
To set up a MID Server that can communicate with Tanium, download the SSL certificate from the Tanium instance.
Sign in to Tanium Console and export a copy of the SSL certificate in CRT format to your local machine.
Figure 10. Example that shows the SSL certificate in the URL field of a browser.
Figure 11. Click Export to download the certificate, and then select the CRT format.
From the Windows machine, open a command prompt in administrator mode.
Run the following commands to create a directory to install the MID Server binaries and then CD into the directory. For this example, we use the C:\MidServer directory.
CODE
c:
cd\
mkdir MidServer
cd MidServer
Copy the downloaded MID Server installer file to the C:\MidServer directory.
Run the MSI file from the command prompt in administrator mode.
Figure 12. Run the installer from a command prompt in administrator mode.
Click Next, read and accept the end user license agreement, and then click Next.
Figure 13. Click Next from the welcome page of the setup wizard.
Figure 14. Mid Install 2
Specify the URL of the ServiceNow instance in addition to the username and password of the MID Server user that you created in Create a MID Server user account.
Then, click Test Your Connection.
Figure 15. Mid Install 3
A message appears if the connection is successful.
Click Close and then Next.
Figure 16. Mid Install 3B
Note: If the connection is not successful, verify the system credentials, and ensure the user account is assigned the mid_server role in ServiceNow.
Specify a name for the MID Server, a service account name and password, and then click Validate MID Service Settings.
MID Server Name: Specify a name that you can easily identify as the MID Server. As a best practice, use the short name of your ServiceNow instance URL.
Service Account Name: Specify either a local user on the endpoint from which you are running the MID Server, or a domain account.
Note: On the endpoint, this user must have Log on as Service rights.
Service Account Password: Specify the password of the user you select for Service Account Name.
Figure 17. Mid Install 4
A message appears if the service settings are valid.
Click Close and then click Next.
Figure 18. If the settings are valid, click Close and then click Next.
Specify C:\MidServer\ for the installation path of the MID server and then click Next.
Figure 19. Select the directory to install the MID Server.
Review the settings, make any changes as needed, and then click Next.
Figure 20. Review the settings and click Next.
Click Install to start the installation.
Figure 21. Click Install.
After the installation completes, click Finish.
Figure 22. Click Finish.
Register the Tanium Server CRT with the MID Server
On the Windows machine, register the Tanium Server certificate that you downloaded.
From the Windows machine, open a command prompt in administrator mode.
Tip: You can reuse the command prompt from the previous section.
Run the following command to change to the C:\MidServer\agent\jre\bin directory:
CODE
cd C:\MidServer\agent\jre\bin
Figure 23. Change to the C:\Mid Server\agent\jre\bin directory.
Run the following command to register the CRT file: