Add your certificate to the ServiceNow Trusted Key Store
Rversion finale: Australia
Mis à jour 12 mars 2026
1 minute de lecture
Upload your key and certificate to the ServiceNow Trusted Key Store.
Avant de commencer
Role required: admin
The public certificate that you created in this example is considered a “self-signed” certificate (meaning it didn't come from a trusted root authority). You must add the certificate to the ServiceNow Trusted Key Store for it to be used. When using a certificate that came from a Certificate Authority, you don't need to complete this step.
Procédure
In your local environment, open Terminal (On Mac or Linux), or Command Line (in Windows).
Using the terminal, use cd to move into the folder where you have created your encryption keys.
In the terminal, enter the following command:
cat sm_public_cert.pem
You must view the contents of your public certificate to copy it into the trusted key store. This cat command displays the certificate.
Copy the certificate information to your clipboard.
Start with and include the -----BEGIN CERTIFICATE----- line and end with and include the -----END CERTIFICATE----- line.
On your ServiceNow instance, navigate to the X.509 certificate list by entering sys_certificate.LIST in the navigation filter.
Select New to create a X.509 Certificate record.
In the form, fill in the following fields.
Tableau 1. X.509 Certificate fields
Field
Value
Name
Name of the certificate. This name can be any name you choose.
Format
Select PEM
Remarque :
Privacy Enhanced Mail (PEM) files are a type of Public Key Infrastructure (PKI) file used for keys and certificates. The records you created in the previous
steps are of this file type.
Type
Select Trusted Store Cert
Short Description
Description of the certificate. Enter a value that lets you know what this certificate is being used for.
PEM Certificate
Paste the certificate information that you copied in step 4.