Hi All,

I have discovered how to do this.  I am going to show you how to do a self signed py2exe:

Self signing steps:

  1. In cygwin follow the instructions here: http://www.top20toolbar.com/misc/codesigncert.htm
  2. download capicom at http://www.download.com/Platform-SDK-Redistributable-CAPICOM/3000-2408_4-10730823.html
  3. regsrv32 capicom.dll
  4. execute sign_exe.py in the dist directory from the build above (in cmd, not cygwin)

import win32com.client
s.FileName='py2exe_prog.exe' #your program executable

Obviously this is self signed and won't actually authenticate correctly, but you can buy a certificate then it will.

On Thu, Oct 9, 2008 at 2:43 AM, Mark Hammond <mhammond@skippinet.com.au> wrote:
> William Heath wrote:
> > Hi All,
> >
> > I am sooooo impressed with py2exe.  I have a need to sign it however
> > so that when my app is installed it doesn't give the user the fear that
> > it is malware.  I want to self sign it just to test that it will work.
> > I have googled like crazy and have not found too many tutorials on how
> > to do this on a python windows executable created in py2exe.  Can you
> > share with me how to achieve this goal?
> >
> I'd like to add a 'me too!' to this - I'd love to know how to generate
> a self signed cert for my apps.

I haven't followed this exact process myself, but know others that have.
The process is no different for a py2exe generated executable than any



This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Py2exe-users mailing list