Specify an external TrustStore for the MID Server
The MID Server JVM can utilize a TrustStore external to the MID installation directory so any certificates added to the TrustStore are not overwritten during an upgrade. It is important that this TrustStore file reside outside of the MID installation directory, and the Truststore location can be specified by adding additional parameters to the MID Server's wrapper-override.conf file.
Before you begin
Role required: admin
Procedure
-
In the MID Server host, navigate to the
wrapper-override.conffile. -
Specify an external TrustStore by appending a custom parameter to the end of your MID’s
wrapper-override.conffile.For example, on a Windows MID with an external TrustStore found at
C:\external_truststore\cacerts, the end of the file would appear similar to:Text# Add additional custom parameters below wrapper.java.additional.3=-Djavax.net.ssl.trustStore=C:\external_truststore\cacerts wrapper.java.additional.4=-Djavax.net.ssl.trustStorePassword=<truststore’s password>Note: If you have specified other additional parameters in this file then the numerical identifier, in this case 3 and 4, may differ.
Parent Topic:Securing and encrypting MID Server data
Related topics
MID Server certificate check policies
Encrypt or decrypt MID Server configuration file values
MID Server configuration file security
MID Server authentication methods comparison
MID Server authentication credentials and SOAP requests
Enable MID Server mutual authentication
MID Server Azure Key Vault integration
Add SSL certificates for the MID Server
MID Server SSH cryptographic algorithms
---
title: Specify an external TrustStore for the MID Server
description: The MID Server JVM can utilize a TrustStore external to the MID installation directory so any certificates added to the TrustStore are not overwritten during an upgrade. It is important that this TrustStore file reside outside of the MID installation directory, and the Truststore location can be specified by adding additional parameters to the MID Server's wrapper-override.conf file.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/mid-server/mid-external-truststore.html
release: australia
product: MID Server
classification: mid-server
topic_type: task
last_updated: "2026-03-12"
reading_time_minutes: 4
breadcrumb: [Securing and encrypting MID Server data, MID Server, Manage instance data sources, Extend ServiceNow AI Platform capabilities]
---
# Specify an external TrustStore for the MID Server
The MID Server JVM can utilize a TrustStore external to the MID installation directory so any certificates added to the TrustStore are not overwritten during an upgrade. It is important that this TrustStore file reside outside of the MID installation directory, and the Truststore location can be specified by adding additional parameters to the MID Server's `wrapper-override.conf` file.
## Before you begin
Role required: admin
## Procedure
1. In the MID Server host, navigate to the `wrapper-override.conf` file.
2. Specify an external TrustStore by appending a custom parameter to the end of your MID’s `wrapper-override.conf` file.
For example, on a Windows MID with an external TrustStore found at `C:\external_truststore\cacerts`, the end of the file would appear similar to:
```
# Add additional custom parameters below
wrapper.java.additional.3=-Djavax.net.ssl.trustStore=C:\external_truststore\cacerts
wrapper.java.additional.4=-Djavax.net.ssl.trustStorePassword=<truststore’s password>
```
**Note:** If you have specified other additional parameters in this file then the numerical identifier, in this case 3 and 4, may differ.
**Parent Topic:**[Securing and encrypting MID Server data](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/mid-server/mid-server-security-encryption.md)
**Related topics**
[MID Server certificate check policies]()
[Encrypt or decrypt MID Server configuration file values]()
[MID Server configuration file security]()
[MID Server authentication methods comparison]()
[MID Server authentication credentials and SOAP requests]()
[MID Server unified key store]()
[Enable MID Server mutual authentication]()
[MID Server Azure Key Vault integration]()
[MID Server command audit log]()
[Rekey a MID Server]()
[Add SSL certificates for the MID Server]()
[MID Server SSH cryptographic algorithms]()
[Attach a script file to a file synchronized MID Server]()
[MID Server FIPS Enforced Mode]()
[MID Server Governance]()
[MID Server IPKI authentication]()
| title | Specify an external TrustStore for the MID Server |
| description | The MID Server JVM can utilize a TrustStore external to the MID installation directory so any certificates added to the TrustStore are not overwritten during an upgrade. It is important that this TrustStore file reside outside of the MID installation directory, and the Truststore location can be specified by adding additional parameters to the MID Server's wrapper-override.conf file. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/servicenow-platform/mid-server/mid-external-truststore.html |
| release | australia |
| product | MID Server |
| classification | mid-server |
| topic_type | task |
| last_updated | 2026-03-12 |
| reading_time_minutes | 4 |
| breadcrumb | Securing and encrypting MID Server dataMID ServerManage instance data sourcesExtend ServiceNow AI Platform capabilities |