Flutter desktop sign executable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: paste one by one, you will receive questions for each. | |
openssl genrsa -out appname.key 2048 | |
openssl req -new -key appname.key -out appname.csr | |
openssl x509 -in appname.csr -out appname.crt -req -signkey appname.key -days 365 | |
openssl pkcs12 -export -out CERTIFICATE.pfx -inkey appname.key -in appname.crt | |
signtool sign /f "path\to\CERTIFICATE.pfx" /p "password" /t http://timestamp.digicert.com /fd SHA256 "path\to\executable.exe" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment