Updating the Private Cert for Teams Message Scanning Oauth App
search cancel

Updating the Private Cert for Teams Message Scanning Oauth App

book

Article ID: 441329

calendar_today

Updated On:

Products

CASB Security Advanced CASB Security Premium CASB Security Standard CASB Securlet SAAS CASB Securlet SAAS With DLP-CDS

Issue/Introduction

You need to update the private certificate for the custom Oauth application created for the Teams Message scanning.

Resolution

Step-by-Step Certificate Renewal Guide

Phase 1: Generate the New Certificate and Thumbprint

  1. Launch OpenSSL on your machine.
  2. Generate a new private key and use it to create your new certificate (.crt file).
  3. Obtain the custom thumbprint. Note: You need the thumbprint of the private key, not the standard thumbprint found in the .crt file properties.

    Run the following command to generate the correct base64-encoded SHA1 thumbprint:

    openssl dgst -binary -sha1 new_cert.crt | openssl base64

    Copy and save this output for later use.

Phase 2: Update Microsoft Entra ID

  1. Upload the new .cert file to your Entra custom application.
  2. Delete the old certificate from Entra.
    ⚠️ Critical: Double-check and verify the thumbprints in Entra against your certificate properties before deleting to ensure you remove the correct (expired) one.

Phase 3: Update CloudSOC

  1. Log into CloudSOC and locate your application settings.
  2. Click Edit, then select and upload your new .pem file.
  3. Enter the new thumbprint that you obtained from the OpenSSL dgst command in Phase 1.
  4. Click Validate and confirm that you see a success message.

Note: This process does not require you to perform a full reauthorization of the application.