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
configuration command to generate new certificate and key files.
1
Stop the AzureHound service
2
Identify the certificate and key locations
- Open AzureHound’s
config.jsonfile, typically atC:\ProgramData\azurehound\config.json. - Expected locations are listed in the
certandkeyvalues.
3
Generate a new certificate and key
-
Run the following command to start the AzureHound configuration process:
-
Run the configuration in full. Use the existing
config.jsonfile as a reference when inputting values, like Directory ID. - Choose Authentication Method: Certificate, and set an optional Private Key Passphrase.
-
The terminal prints the paths of the new certificate and private key, together with a new
config.jsonfile.
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
See AzureHound Enterprise Configuration for details.
7
Start the AzureHound service