---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Generate SHA-1 thumbprint

# Generate SHA-1 thumbprint {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Generate an SHA-1 thumbprint using the JWT provider's sys_id, the Java Key Store (JKS) certificate's sys_id, and the JKS certificate's alias to the GraphCertificateOAuthTemplate script.

## Before you begin

Role required: admin

## Procedure

1. Navigate to AllSystem DefinitionScripts-Background.
2. Paste the following script to generate the SHA-1 thumbprint value.  

       var certId = "<sys_id of the certificate record>";​

       var certAlias = "<alias name for the certificate>";​

       var gce = new GlideCertificateEncryption();​

       var thumbprint = gce.getThumbPrintFromKeyStore(certId, certAlias,"SHA-1");​

       gs.log(thumbprint);​

3. Select Run script.
{#generate-sha-1-thumbprint__steps_ekl_mql_lzb}

## What to do next

[Create an OAuth API script](https://servicenow-prod.fluidtopics.net/_YoiVsjJozZJkAW5FybOhg "Create and duplicate an OAuth API script for application registry.")

*[\>]: and then


