Digital signing issue - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

nkristensen
Posts: 2
Joined: Sun Jan 29, 2012 2:47 am

Digital signing issue

I purchased a Thawte code signing certificate recently and successfully installed it. I can see it in certmgr.msc tool in windows under Personal.

I select the certificate in AI, but when it tries to sign a file the built in digisign.exe gives the following error:
digisign.exe error. The certificate is missing or it cannot be used for signing.

If I change the signing tool to signtool from Microsoft SDK, then it gives the following error:
SignTool Error: No certificates were found that met all the given criteria.

In both cases I directly selected the certificate from the system store. I understand that Thawte uses chaining of the intermediate certificates. Not sure if that is the problem.

Any assistance you can provide would be appreciated. I am using AI v8.9
nkristensen
Posts: 2
Joined: Sun Jan 29, 2012 2:47 am

Re: Digital signing issue

I downloaded free certificate from ascertia, installed it, and am getting same error messages
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Digital signing issue

Hi,

Can you please give us a screen-shot with the certificate in your certmgr.msc console, so we can see the "Purposes" column?

Also, have you tried to sign a package from command line, not through Advanced Installer? Using both tools, i.e. the one from Microsoft' SDK
and our built-in signing tool.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Digital signing issue

Hi,

In the meantime, can you please use the following debug version of our signing tool? This should give us more details about the problem encountered.
http://dl.dropbox.com/u/5392761/digisign.exe

The file needs to be placed in the installation folder of Advanced Installer, replacing the original one.

Also, very important, you must make sure that Microsoft Visual C++ 2010 Redistributable Package is installed on the machine, as this debug version requires some resources from it.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Digital signing issue

Hi,

Have you got a chance to test our debug version of the sign tool?

Also, regarding the Ascertia certificate, we've done some digging and it seems that you need to have it added under "Trusted Root Certification Authority\Certificates"
in order for it to be correctly used by the digital signing tool.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”