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:
- [In ServiceNow] Click All and search for Key Management.

- [In ServiceNow] Open the page that assigns the Key Management admin role.
- [In ServiceNow] Move your user to Selected User(s) and click Save.

- [In ServiceNow] Log out, then log back in.
- [In ServiceNow] Open your user menu and select Elevate role.
- [In ServiceNow] Select security_admin and click Update.

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:
- [In ServiceNow] In the header, set the application scope to JFrog AppTrust.
- [In ServiceNow] Click All, search for Key Management, and open the
x_jfro_apptrust.jfrog_signing_keymodule.

- [In ServiceNow] On the Crypto Specifications tab, click the key alias
x_jfro_apptrust.signing_key.

- [In ServiceNow] Open Key Creation and click Generate Key. ServiceNow creates the key pair and saves it on the Module Keys tab.

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:
- [In ServiceNow] On the cryptographic module, open the Module Keys tab.
- [In ServiceNow] Open the key whose type is Public Signature Verification Key.

- [In ServiceNow] Under Related Links, click Export Public Key to Certificate (.pem) and save the file.

-
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:
- [In JFrog] Go to Administration > Security > Keys Management.
- [In JFrog] Open the Public Keys tab and click Add Keys.

- [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.
Updated 2 days ago
