Why am I trying to sign the application using the "The specified PFX password is incorrect" icon?

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:

enter image description here

I wrote a password: 'fess'

a new window has opened:

enter image description here

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:

enter image description here

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,

+5
source share
1 answer

There are several issues.

, , , -r makecert " " .

,

signtool.exe sign /f "App-O.pfx" /p fess "C:\Output\setup.exe"

pfx, "fess". pfx. -po pfx.

.

, :

makecert.exe -sv App-O.pvk -n "CN=MY DIGITAL KEY" App-O.cer -r

pvk2pfx.exe -pvk App-O.pvk -spc App-O.cer -pfx App-O.pfx -po fess

signtool.exe sign /f "App-O.pfx" /p fess "C:\Output\setup.exe"

:

+17

All Articles