* play with signing the windows installer & self-signed certificates

This commit is contained in:
Reinhard Pointner 2015-06-17 18:38:47 +00:00
parent e89cc26bdf
commit 9bff41722f
2 changed files with 7 additions and 1 deletions

Binary file not shown.

View File

@ -1,2 +1,8 @@
del FileBot-setup.exe
makensis filebot.nsi
del MyCA.pvk MyCA.cer MySPC.pvk MySPC.cer MySPC.pfx
makecert -r -pe -n "CN=FileBot CA" -ss CA -sr CurrentUser -a sha256 -cy authority -sky signature -sv MyCA.pvk MyCA.cer
makecert -pe -n "CN=FileBot NSIS" -a sha256 -cy end -sky signature -ic MyCA.cer -iv MyCA.pvk -sv MySPC.pvk MySPC.cer
pvk2pfx -pvk MySPC.pvk -spc MySPC.cer -pfx MySPC.pfx
signtool sign /v /f MySPC.pfx FileBot-setup.exe