Skip to main content
Applies to BloodHound Enterprise only Rotate the certificate AzureHound Enterprise uses to authenticate to Microsoft Entra ID. AzureHound-generated certificates expire after one year.

Prerequisites

Before you begin, ensure you have the following:
  • On the AzureHound Enterprise server:
    • Permission to stop and start the AzureHound Enterprise service
    • Permission to replace the existing AzureHound Enterprise certificate and key
  • In Microsoft Entra ID, permission to add/replace the certificate on the AzureHound Enterprise application
You must use AzureHound’s configuration command to generate new certificate and key files.
1

Stop the AzureHound service

2

Identify the certificate and key locations

  1. Open AzureHound’s config.json file, typically at C:\ProgramData\azurehound\config.json.
  2. Expected locations are listed in the cert and key values.
3

Generate a new certificate and key

  1. Run the following command to start the AzureHound configuration process:
  2. Run the configuration in full. Use the existing config.json file as a reference when inputting values, like Directory ID.
  3. Choose Authentication Method: Certificate, and set an optional Private Key Passphrase.
  4. The terminal prints the paths of the new certificate and private key, together with a new config.json file.
4

Delete the new config.json file

5

Move the new certificate and key

Move the new certificate and private key into the locations referenced by the old config.json file.If you set a private key passphrase, you must add it to the config.json file.
6

Add the certificate to the Azure application

7

Start the AzureHound service