Solution for signing Windows .exe,.dll and so on under Mac OS X

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Sat Mar 17 04:58:59 EDT 2018


Hi, 
i am not sure, if you all alread knew about it. But for me it was totally new.


Today i was able to successfully signing a Windows .exe file under Mac OS X.

See the steps below.

If the URLs are not readable, go here to download a short pdf containing the instructions.

https://dl.qck.nu//?dl=Singing_Windows_files_on_MacOSX.pdf <https://dl.qck.nu//?dl=Singing_Windows_files_on_MacOSX.pdf>

Why are url in this list email always shown twice? Is there a trick to avoid that?

Any way.

Regards,

Matthias



How to signcode Windows apps under Mac OS X using osslsigncode

1. If not already installed, install Homebrew using the Terminal
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. install osslsigncode using HomeBrew, enter the following into the Terminal
 brew install osslsigncode

After successful installation you should be able to sign your Windows .exe under Mac OS X

See examples below  for signing YOURAPP.exe with a p12/pfx certificate

SHA256
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h sha2 -t TIMESTAMPSERVERURL -in /PATH/YOURAPP.exe -out /PATH/YOURAPP_signed.exe

SHA1
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h sha1  -in /PATH/YOURAPP.exe -out /PATH/YOURAPP_signed.exe

Dual signing
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h sha1  -in /PATH/YOURAPP.exe -out /PATH/YOURAPP_signed.exe
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h sha2 -nest -t TIMESTAMPSERVERURL -in /PATH/YOURAPP.exe -out /PATH/YOURAPP_signed.exe



With my Comode certificate i am using the timestamp server url  http://timestamp.comodoca.com/rfc3161 <http://timestamp.comodoca.com/rfc3161>






More information about the use-livecode mailing list