If you have created the certificate request on the same computer using certreq, Windows has “remembered” this open request. To install the certificate now, simply run:
›_ Console
C:\>certreq -accept -user codesign.crt
Installed Certificate:
Serial Number: 2d0000002ba56ec00d8b611e4a00000000002b
Subject: CN=YourCompany Code Signing, O=YourCompany, L=Aachen, C=DE
NotBefore: 3/25/2022 8:31 AM
NotAfter: 3/25/2023 8:31 AM
Thumbprint: f61f71e40bcb5d14452d7edd2a034d22801fb547
Since Windows has also remembered that the key for this certificate was created with the Utimaco CryptoServer Key Storage Provider, it has already associated the certificate with that key provider and container. Thus, you can directly move on to sign code.
However, if the request was created on another computer or if you need to reinstall the certificate, an error will be shown: