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

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Mon Mar 19 14:49:43 EDT 2018


The url for the pdf download links to my server (dl.qck.nu), in case you are concerned about the domain name.
That domain is used to provide several  services using LC server. So nothing harmful.


Matthias Rebbe
Tel +49 5741 310000
‌https://matthiasrebbe.eu <https://matthiasrebbe.eu/>‌

> Am 19.03.2018 um 15:33 schrieb Matthias Rebbe via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> Hi,
> 
> i´ve just noticed that the link to the PDF file was not correct.
> 
> You´ll find the step by step instructions here
> 
> https://dl.qck.nu//?dl=Signing_Windows_files_on_MacOSX.pdf <https://dl.qck.nu//?dl=Signing_Windows_files_on_MacOSX.pdf><https://dl.qck.nu//?dl=Signing_Windows_files_on_MacOSX.pdf <https://dl.qck.nu//?dl=Signing_Windows_files_on_MacOSX.pdf>>
> 
> I am sorry for the confusion.
> 
> Regards,
> Matthias
> 
> Matthias Rebbe
> Tel +49 5741 310000
>https://matthiasrebbe.eu <https://matthiasrebbe.eu/> <https://matthiasrebbe.eu/ <https://matthiasrebbe.eu/>>‌
> 
>> Am 17.03.2018 um 09:58 schrieb Matthias Rebbe <matthias_livecode_150811 at m-r-d.de <mailto:matthias_livecode_150811 at m-r-d.de> <mailto:matthias_livecode_150811 at m-r-d.de <mailto:matthias_livecode_150811 at m-r-d.de>>>:
>> 
>> 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><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 <https://raw.githubusercontent.com/Homebrew/install/master/install><https://raw.githubusercontent.com/Homebrew/install/master/install <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><http://timestamp.comodoca.com/rfc3161 <http://timestamp.comodoca.com/rfc3161>>
>> 
>> 
>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode <http://lists.runrev.com/mailman/listinfo/use-livecode>



More information about the Use-livecode mailing list