Skip to content

Instantly share code, notes, and snippets.

@Far-Se
Last active August 14, 2022 04:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Flutter desktop sign executable
:: 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