Recently our company bought Thawte authenticode certificate. Now I'm trying to sign very simple hello-world .NET console application.
I use
signtool.exe signwizard
- choose my .exe
- choose certificate from file. I select
.crtfile. All info about cert is ok - there are attributes of our company - then I'm suggested to choose private key. I've saved private key when I've generated Certificate Request file
.csr.I select it -.keyfile.
- Click
Nextand then goes error saying that "Certificate and private key don't match or contain invalid info"
I verified that my private key match certificate according to that post Verifying that a Private Key Matches a Certificate and all seems fine - modulus and public exponent are the same.
What am I doing wrong?