I followed this link to sign my exe application.
I installed the SDK tool in Windows 7,
run C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin>makecert.exe -sv App-O.pvk -n "CN=MY DIGITAL KEY" App-O.cer
The dialog is open to provide a password:

I wrote a password: 'fess'
a new window has opened:

I entered: 'fess'
#Succeeded
App-O.cer and App-O.pvk files are created.
now i create pfx:
pvk2pfx.exe -pvk App-O.pvk -spc App-O.cer -pfx App-O.pfx
The dialog is open to provide a password:

i inserted 'fess'
created pfx file.
Now I run signtool:
C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin>signtool.exe sign /f "App-O.pfx" /p fess "C:\Output\setup.exe"
Here I got the error:
SignTool Error: The specified PFX password is not correct.
Number of files successfully Signed: 0
Number of warnings: 0
Number of errors: 1
What did I miss?
By the way, I get the same error from the CMD shell of the Windows SDK.
Thank,
source
share