--- title: Generate a SHA-1 thumbprint description: Generate a SHA-1 thumbprint using the JWT provider's sys\_id and JKS certificate's sys\_id and certificate's alias to be added to the GraphCertificateOAuthTemplate script. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/generate-thumbprint.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [OAuth profile to use certificates, Read email using Microsoft Graph, Read or send emails using Microsoft Graph, Advanced email setup, Configure, Email Administration, Notifications, Configure core features, Administer the ServiceNow AI Platform] --- # Generate a SHA-1 thumbprint Generate a SHA-1 thumbprint using the JWT provider's sys\_id and JKS certificate's sys\_id and certificate's alias to be added to the GraphCertificateOAuthTemplate script. ## Before you begin Role required: admin ## Procedure 1. Navigate to **All** > **System Definition** > **Scripts-Background**. 2. Paste the following script to generate the SHA-1 thumbprint value. ``` var certId = "";​ var certAlias = "";​ var gce = new GlideCertificateEncryption();​ var thumbprint = gce.getThumbPrintFromKeyStore(certId, certAlias,"SHA-1");​ gs.log(thumbprint);​ ``` 3. Select **Run script**. ## What to do next [Create an OAuth API script](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/oauth-api-script.md) **Parent Topic:**[Configure an OAuth profile to use certificates for authentication with Microsoft Azure](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/configure-oauth-profile-using-certificates.md)