Importing a Trusted Chain and Client Certificate in Windows Certificate Store for mTLS Protocol

This guide will walk you through the process of importing a trusted certificate chain and a client certificate into the Windows Certificate Store, specifically for use in mutual TLS (mTLS) communication in Snare Agent.

The guide includes step-by-step instructions with screenshots and GUI interactions.

Prerequisites:

  1. Client Certificate file (.crt and .key), containing both the client certificate and private key.

  2. Trusted Root Certificate (.crt or .cer file).

  3. Intermediate Certificate (.crt or .cer file), if required (optional).

 Step-by-step instructions:

Step 1: Open the Microsoft Management Console (MMC)

Open the Run Dialog:

mmc.png

Add the Certificates Snap-in:

Manage Certificates for Computer or User:

snap_final.png

Step 2: Import the Trusted Root Certificate

The trusted root certificate is the highest authority in the chain of trust. Intermediate certificates act as an intermediary between the root certificate and the client certificate but may not be needed in every setup.

  1. Expand the Certificates Tree:

snap-4.png

import-1.png

Import Root Certificate:

import-1.png

import-2.png

Intermediate Certificate (Optional):

Step 3: Import the Client Certificate (with Private Key)

  1. Navigate to Personal Certificates:

  2. Certificate Import Wizard:

  3. Mark Key as Exportable (must):