Search code examples
windowssecuritycertificatecode-signingsigntool

SignTool not picking up the certificate


I have self signed a certificate and installed it in the pc.

However, it is not currently picked up by the SignTool.

enter image description here

Does anyone have an idea why? Any input on this is highly appreciated.

The pc is running on Windows 8.1 Pro.

Update

Following suggestion of @Robert, I have installed it to personal section. But still I am not able to sign the exe file.

enter image description here

Command:

"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /n "MyCert" /fd SHA256 setup.exe


Solution

  • The signtool.exe looks for certificates in the user store (certmgr.msc) not the machine store (certlm.msc).

    Try to move the certificate to your user store.