Set Up Signature Verification

Upload a ServiceNow public key so JFrog AppTrust can verify approvals.

Set up signature verification so JFrog AppTrust can confirm that a change request approval wasn't changed after ServiceNow signed it.

ServiceNow creates a key pair in the Key Management Framework and signs the approval evidence with the private key in the x_jfro_apptrust.jfrog_signing_key module. You export the public key and upload it to the JFrog Platform. AppTrust uses that public key to verify the signature.

Prerequisite: Install ServiceNow Applications. Your ServiceNow user needs the security_admin role so you can elevate to it. Key Management stays hidden until you elevate, including for a system administrator.

This page has four tasks:

Assign Key Management Roles

Assign yourself the Key Management admin role, then elevate to security_admin for this session. The elevated role ends when you log out.

To assign the Key Management roles:

  1. [In ServiceNow] Click All and search for Key Management.
Key Management in the ServiceNow All menu
  1. [In ServiceNow] Open the page that assigns the Key Management admin role.
  2. [In ServiceNow] Move your user to Selected User(s) and click Save.
Selector for the Key Management admin role
  1. [In ServiceNow] Log out, then log back in.
  2. [In ServiceNow] Open your user menu and select Elevate role.
  3. [In ServiceNow] Select security_admin and click Update.
Elevate role window with security_admin selected

Generate the Signing Key

Generate the key pair in the JFrog AppTrust application scope. The private key stays in ServiceNow. You upload only the public key to the JFrog Platform.

To generate the signing key:

  1. [In ServiceNow] In the header, set the application scope to JFrog AppTrust.
  2. [In ServiceNow] Click All, search for Key Management, and open the x_jfro_apptrust.jfrog_signing_key module.
JFrog AppTrust scope and the jfrog_signing_key cryptographic module
  1. [In ServiceNow] On the Crypto Specifications tab, click the key alias x_jfro_apptrust.signing_key.
Crypto Specifications tab for the JFrog signing key
  1. [In ServiceNow] Open Key Creation and click Generate Key. ServiceNow creates the key pair and saves it on the Module Keys tab.
Generate Key link on the Key Creation step

Export the Public Key

Export the public verification key, then convert the certificate to a PEM public key on your computer.

To export the public key:

  1. [In ServiceNow] On the cryptographic module, open the Module Keys tab.
  2. [In ServiceNow] Open the key whose type is Public Signature Verification Key.
Module Keys tab with the public signature verification key
  1. [In ServiceNow] Under Related Links, click Export Public Key to Certificate (.pem) and save the file.
Export Public Key to Certificate link on the module key
  1. On your computer, convert the certificate to a PEM public key:

    openssl x509 -in <CERTIFICATE_FILE> -pubkey -noout > <PUBLIC_KEY_FILE>

    Where:

    • <CERTIFICATE_FILE>: The certificate file you saved from ServiceNow.
    • <PUBLIC_KEY_FILE>: The PEM file to upload to the JFrog Platform.

    For example:

    openssl x509 -in jfrog_signing_key.cer -pubkey -noout > jfrog_signing_key.pem

Upload the Public Key

Upload the PEM file to the JFrog Platform so AppTrust can verify approval signatures.

📘

Note

The alias must be servicenow-jfrog-integration.

To upload the public key:

  1. [In JFrog] Go to Administration > Security > Keys Management.
  2. [In JFrog] Open the Public Keys tab and click Add Keys.
Public Keys tab in Keys Management with Add Keys
  1. [In JFrog] Upload the PEM file and set Alias to servicenow-jfrog-integration.

What's Next?

Continue to the next procedure, Complete a Change Request.


Did this page help you?