i am working a setup project and i want to sign my "setup.exe" file.
For this issue, i have;
- A "setup.exe" file
- A "aaa.pfx" file (Also i am using this pfx file as my site ssl certificate.)
Firstly,
i converted pfx file to crt and pvk above command.
- Export private key:
openssl pkcs12 -in filename.pfx -nocerts -out key.pvk
- Export certificate:
openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.crt
And I am using windows signwizard tool for signing,
Steps:
- I selected my "setup.exe" file
- I selected my "cert.crt"
- I selected "key.pvk" And this get an error like picture;
Any suggestions?