---
title: Add SSL certificates for the MID Server
description: Configure the MID Server to connect to a source over SSL.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/mid-server/add-ssl-certificates.html
release: australia
product: MID Server
classification: mid-server
topic_type: task
last_updated: "2026-03-12"
reading_time_minutes: 8
breadcrumb: [Securing and encrypting MID Server data, MID Server, Manage instance data sources, Extend ServiceNow AI Platform capabilities]
---
# Add SSL certificates for the MID Server
Configure the MID Server to connect to a source over SSL.
## Before you begin
Role required: admin

## About this task
You can add certificates to the MID Server to communicate over SSL/TLS in one of two ways:
- Add certificates directly to the bundled JRE TrustStore file, using the following procedure.
- Specify a different TrustStore file for the MID Server to use. For more information, see [Specify an external TrustStore for the MID Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/mid-server/mid-external-truststore.md).
Review both methods to evaluate which best meets your needs.
During MID upgrade the bundled TrustStore is overwritten. The MID Server attempts to migrate certificates from the existing TrustStore to the incoming one. To be migrated, certificates must meet the following criteria:
- **Quebec \(backported to Orlando Patch 10 and Paris Patch 4\)**
- X.509 v3 certificates
- Basic Constraints Extension evaluates to false \(or is not present\)
- **Rome \(backported to Paris Patch 7 and Quebec Patch 2\)**
- X.509 certificates
- Any certificate present in the source, but not the destination TrustStore
Certificates that do not meet the criteria are overwritten. Alternatively, you can specify an external TrustStore file which is unaffected by MID Server upgrades. For more information, see [Specify an external TrustStore for the MID Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/mid-server/mid-external-truststore.md)
In Rome and later families, the migration strategy utilized during upgrade is configurable via the MID Server configuration parameter **mid.truststore.migration.strategy**. It can take the following values:
- **migrate\_delta**: the default strategy \(outlined above for Rome\)
- **migrate\_non\_ca**: a strategy matching the one outlined above for the Quebec family
- **do\_not\_migrate**: disables the TrustStore migration during upgrade, though a backup of the original TrustStore is made in the event of overwrite
During this migration process, a backup of the original and upgrade TrustStores are made and stored in the agent’s work directory: `…\agent\work\truststore_migration\