Renewing Microsoft Graph Certificate

Table of Contents

KanBo uses a certificate to communicate with MS Graph. Certificates expire after a year. Here’s how to renew it:

  1. Generate new certificates. Follow the instructions in this article.
  2. Once you have a pair of certificates (.cer and .pfx), go to Azure AD, and select App Registrations.
  1. Select KanBo.
  1. Go to Certificates & secrets, and then Delete the old certificate.
  1. Select Upload certificate, choose your certificate, and confirm with the Add button.
  1. Verify that the certificate is valid.
  1. Go to the KanBo web app, and then select TLS/SSL settings.
  1. Select Prive Key Certificate (.pfx), and then select + Upload Certificate.
  1. Select the PFX certificate file and enter the password. Then, select Upload.
  1. Go to the Configuration and edit the “WEBSITE_LOAD_CERTIFICATES” value.

    a) If you are using only one certificate for KanBo, enter the thumbprint of the new certificate in the “Value” field.
    b) If you use more than one certificate in KanBo, make sure you type “*” in the value field.

  2. Select Ok to save the changes.
  1. Open the Kudu editor.
  2. In your Azure Web App Development Tools, select Advanced Tools.
  1. Select Go.
  1. Select Debug consolePowerShell
  1. Go to site > wwwroot.
  2. On the appsettings.json file select Edit.
  1. Enter the thumbprint of the new certificate in the “thumbprint” field of the “auth-aad” and “webjobs” packages.
  1. Save the changes.

You will also need to replace the thumbprint of each WebJob that your KanBo uses.

Was this article helpful?

Please, contact us if you have any additional questions.