Create digital signature when using the network service user - 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!

bburton
Posts: 1
Joined: Mon Mar 25, 2013 5:41 pm

Create digital signature when using the network service user

As I understand it, the digital signature will only user certificates found in the personal store of the currently logged in user. On our build server we are looking to build the installer automatically using command line arguments under the NETWORK SERVICE user. When I do this I get the following error:

"The digital signing of the APPDIR\updater.exe file failed. Error Message:digisign.exe error. The certificate is missing or it cannot be used for signing."

How can I set up the certificate so that advanced installer can see it? Is there a way to specify a store, like Local computer/trusted publishers, to use instead of the personal store? And how can I make it visible to the NETWORK SERVICE user?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Create digital signature when using the network service

Hi and welcome to our forums,

The solution is to use "File from disk' option in Digital Signature page and have the certificate at a fixed path from where the signing tool can get it.

To use this option you need to first export the certificated, in PFX format recommended, from your machine store. Use the export options from certmgr tool.

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

Return to “Common Problems”