Import the certificates
Perform the following steps to import the certificates by using Microsoft Management Console (MMC) and the Certificates Snap-In:Open Microsoft Management Console by pressing Windows+R to open Run, then type “mmc” in the empty box and select [ OK ].
Right-click within the Certificates panel and select All Tasks > Import to start the Certificate Import Wizard.
Select [ Browse ], find and select the leaf certificate file (such as
leaf-cert.pem), and select [ Next ].Leave the default option selected to place all certificates in the Personal certificate store, and select [ Next ].
Review the summary of the selected options, and select [ Finish ].
A notification window states that the import was successful.
Right-click within the Certificates panel and select All Tasks > Import to start the Certificate Import Wizard.
Leave the default option selected to place all certificates in the Trusted Root Certificate Authorities certificate store, and select [ Next ].
Associate the certificates
Perform the following steps to associate the certificates with their corresponding private keys stored on the HSM by using certutil:Note the serial numbers of both the CA certificate and the leaf certificate for use in the following certutil commands. To do so, double-click on each certificate, go to the Details tab, and note down the listed serial number value.
Run the following command to associate the leaf certificate with its corresponding private key stored on the HSM:
Be sure to substitute “serial_number” with the actual certificate serial number value.
My represents the Personal certificate store.
Powershell
Run the following command to associate the CA certificate with its corresponding private key stored on the CryptoHub:
Root represents the Trusted Root Certification Authorities certificate store.
Powershell

