---
description: >-
  This article addresses the error related to the certificate thumbprint mismatch in the Netwrix Agent and provides a resolution to ensure proper reporting to the Hub Server.
keywords:
  - Netwrix Agent
  - certificate thumbprint
  - Hub Server
  - IIS Certificate
  - HubDetails.xml
  - Netwrix Agent Service
  - Hub Adapter
  - trusted thumbprint
sidebar_label: Certificate Thumbprint Mismatch
tags: [kb, troubleshooting-and-errors]
title: "Certificate Thumbprint Mismatch"
knowledge_article_id: kA04u0000000JaGCAU
products:
  - changetracker
---

# Certificate Thumbprint Mismatch

## Symptom

The following error occurs when using a custom or unrecognized IIS Certificate:

```text
2017-10-08 11:17:36,935 [Threadpool worker] ERROR NNT.Hub.ServiceClient.HubAdapter - Certificate thumbprint does not match trusted (BAD1067FBAB59CCED21786657C672F6AB5BE824C/6F7F11707C0C93CD0F7E92D5BC0F1C9345D68A64). Consider setting Thumbprint in HubDetails.xml. Server certificate details
```

## Cause

This means that you are using a custom or unrecognized IIS Certificate. You need to specify to the agent the certificate thumbprint so that it can use the new certificate.

## Resolution

If you are receiving this error, the Netwrix Agent is NOT reporting to your hub. This is a critical error — resolve it to restore monitoring. To resolve this error:

1. Stop the **Netwrix Agent Service**.
2. Navigate to your Netwrix Agent Directory, which contains the Rolling-Log Files (see [Agent Rolling-Log File Location](/docs/changetracker/install/agent/rollinglogfile) for more details):
   - **Windows:** `C:\ProgramData\NNT\gen7agent.app.netcore\`
   - **Linux:** `/var/nnt/gen7agent.app.netcore/`
3. Edit the **HubDetails.xml** file.
4. Locate the **Thumbprint** entry in the XML file.
5. In between the **Thumbprint** tags, enter your custom certificate thumbprint (the correct thumbprint is shown in the error message).
6. Save the file, replacing the old one. You may need to save it to the desktop first, then copy it back into the directory to replace the original.
7. Restart the Agent service.

### HubDetails.xml Example

```xml
<?xml version="1.0" encoding="utf-8"?>
<HubDetails xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Url>https://myserver.mydomain.local/api</Url>
    <Username>agent</Username>
    <Proxy />
    <ProxyDomain />
    <ProxyUsername />
    <ProxyPassword />
    <UseDefaultProxy>false</UseDefaultProxy>
    <NamePrefix></NamePrefix>
    <NameSuffix></NameSuffix>
    <Thumbprint>BCD1067FBAB59CCED21786657C672F6AB5BE824C</Thumbprint>
</HubDetails>
```
