Use certificate for authentication

task australia Updated Sep 10, 2026 1 min read using-certificates-for-authentication.md
Raw file servicenow.com

Request an access token with a certificate credential.

Before you begin

  1. A self-signed or CA-issued certificate is required, created using the PowerShell script. For more information, see: Setting up an Azure AD app for app-only access. The script generates two files: a .PFX file and a .CER file.

    Note: Confirm that you're aware of the password used to encrypt the private key to generate the .PFX and .CER files.

  2. A Java Key Store (JKS) file created from the .PFX file is required.

    Note: Confirm that you're aware of the password used to generate the JKS file from the .PFX file.

Role required: admin

Procedure

  1. Navigate to App registrations in Azure AD portal.

  2. Select Certificates & secrets from the Manage section.

  3. In the Certificates tab, select Upload Certificate.

  4. On the form, fill these values.

    Field Description
    Upload a certificate (public key) with one of the following file types: .cer, .pem, .crt .CER file you had generated using the PowerShell script.
    Description Description of the certificate.
  5. Select Add.

    The certificate is uploaded and its details are displayed under the Certificates tab.

  6. Copy the Thumbprint value of the uploaded certificate.

    The Thumbprint value is a hexadecimal value.

    [Omitted image "ms-sharept-thumbprint.png"] Alt text: Thumbprint of the uploaded certificate.

  7. Encode the Thumbprint value to a Base64 value and record the value for later use.

    Note: You can use a Hexadecimal to Base64 (Hex to Base64) converter tool to encode the Thumbprint value to a Base64 value.

Parent Topic:Establish Microsoft Teams Graph connection on ServiceNow AI Platform

Search documentation
Search document titles and file paths on the australia branch