Load required key pairs and certificates for Code Signing
Establish the relationship in a designated trusted instance using Code Signing. This first step loads two cryptographic keys into the trusted environment to establish a trusted source for updates to the production instance.
Before you begin
Roles required: security_admin and sn_kmf.cryptographic_manager
About this task
The first step in establishing the relationship is to establish the trust foundation in a designated trusted instance using Code Signing. To perform this task, you need the following.
-
You must have two 4096-bit RSA public/private key pairs to load into Code Signing cryptographic modules:
- One pair for the cm_code_signing cryptographic module
- One pair for the cm_code_attest cryptographic module For more information on these keys, see Create Code Signing key pairs and certificates.
Important: These key pairs must be signed by a public certificate authority or signed by your organizations internal certificate authority. The certificate can't be self-signed.
-
A Public Key Cryptography Standard #12 (.p12) file containing your leaf and intermediate certificates.
Procedure
-
Import your keys from the keystore.
-
Navigate to All > Key Management > Cryptographic Modules > All.
-
Find and open the cryptographic module named
cm_code_signing. -
In the Crypto Specifications list, select the name of the crypto specification to open it.
-
In the Import key from keystore screen, select Import key.
-
-
Repeat the first step to import the cryptographic module named
cm_code_attest. -
In the Enter Keystore Password field, enter the challenge password you created when generating your RSA certificate.
Note: The challenge password that you created is referred to here as the keystore password. In other parts of the process, this may be referred to as either a import password or export password. In all cases, this password is the same challenge password that you created in the previous steps.
-
Select the Browse button next to Import Keystore/Certificate.
-
Select a Public Key Cryptography Standard #12 (.p12) file containing your distribution certificate (mentioned in the before you begin section at the top of this doc).
-
Select OK.
Important: If you’re using your own internal certificate authority, you must upload the internal certificate authority’s intermediate certificates using the process in steps 5–6.
With a successful import of your key and certificate(s), a confirmation message is displayed.
You can validate that the key and certificates are present on your instance on the X.509 Certificates [sys_certificate] table. These records have a type of Trust Store Cert.
You can validate your key on the Cryptographic Modules [sys_kmf_crypto_module] table.
What to do next
Export the certificate to production. See Prepare Circle of Trust certificates for details.
Parent Topic:Configuring Code Signing
---
title: Load required key pairs and certificates for Code Signing
description: Establish the relationship in a designated trusted instance using Code Signing. This first step loads two cryptographic keys into the trusted environment to establish a trusted source for updates to the production instance.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-security/circle-trust-setup.html
release: brazil
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 2
breadcrumb: [Configure, Code Signing, Platform Security]
---
# Load required key pairs and certificates for Code Signing
Establish the relationship in a designated trusted instance using Code Signing. This first step loads two cryptographic keys into the trusted environment to establish a trusted source for updates to the production instance.
## Before you begin
Roles required: security\_admin and sn\_kmf.cryptographic\_manager
## About this task
The first step in establishing the relationship is to establish the trust foundation in a designated trusted instance using Code Signing. To perform this task, you need the following.
- You must have two 4096-bit RSA public/private key pairs to load into Code Signing cryptographic modules:
- One pair for the cm\_code\_signing cryptographic module
- One pair for the cm\_code\_attest cryptographic module
For more information on these keys, see [Create Code Signing key pairs and certificates](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/create-key-pairs-and-certs.md).
**Important:** These key pairs must be signed by a public certificate authority or signed by your organizations internal certificate authority. The certificate can't be self-signed.
- A Public Key Cryptography Standard \#12 \(.p12\) file containing your leaf and intermediate certificates.
## Procedure
1. Import your keys from the keystore.
1. Navigate to **All** > **Key Management** > **Cryptographic Modules** > **All**.
2. Find and open the cryptographic module named `cm_code_signing`.
3. In the **Crypto Specifications** list, select the name of the crypto specification to open it.
4. In the **Import key from keystore** screen, select **Import key**.
2. Repeat the first step to import the cryptographic module named `cm_code_attest`.
3. In the **Enter Keystore Password** field, enter the challenge password you created when generating your RSA certificate.
**Note:** The challenge password that you created is referred to here as the **keystore password**. In other parts of the process, this may be referred to as either a **import password** or **export password**. In all cases, this password is the same challenge password that you created in the previous steps.
4. Select the **Browse** button next to **Import Keystore/Certificate**.
5. Select a Public Key Cryptography Standard \#12 \(.p12\) file containing your distribution certificate \(mentioned in the before you begin section at the top of this doc\).
6. Select **OK**.
**Important:** If you’re using your own internal certificate authority, you must upload the internal certificate authority’s intermediate certificates using the process in steps 5–6.
With a successful import of your key and certificate\(s\), a confirmation message is displayed.
You can validate that the key and certificates are present on your instance on the X.509 Certificates \[sys\_certificate\] table. These records have a type of **Trust Store Cert**.
You can validate your key on the Cryptographic Modules \[sys\_kmf\_crypto\_module\] table.
## What to do next
Export the certificate to production. See [Prepare Circle of Trust certificates](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/create-updateset-nonprod.md) for details.
**Parent Topic:**[Configuring Code Signing](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/config-code-signing.md)
| title | Load required key pairs and certificates for Code Signing |
| description | Establish the relationship in a designated trusted instance using Code Signing. This first step loads two cryptographic keys into the trusted environment to establish a trusted source for updates to the production instance. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-security/circle-trust-setup.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | ConfigureCode SigningPlatform Security |