The certificate must be deleted and imported to connect it with the key that is stored in the HSM. PowerShell was used for this task.
-
Get the certificate thumbprint.
|
›_ PowerShell |
|
-
Make sure that the file is located on the local disk (one of the two possibilities, depending on the installation).
|
›_ PowerShell |
|
-
Delete the certificate.
|
›_ PowerShell |
|
-
Check if the certificate was deleted (one of the two possibilities, depending on the installation).
|
›_ PowerShell |
|
-
Import the certificate.
|
›_ PowerShell |
|
-
To create a link between the certificate and the private key, first find the certificate serial number.
|
›_ PowerShell |
|
-
And use the certutil command to repair the link.
|
›_ PowerShell |
|
If you are using smartcard authentication, the prompt will appear on the PIN Pad device to insert the smartcard and enter the PIN. Then, press the OK button on the PIN Pad.