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!

ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Single and Dual Code Signing

1. Currently I have a code signing certificate from Thawte which has the ability to sign both SHA1 and SHA256.
2. I am using this to sign all of our AIP files during build time.
3. All output software.exe is being dual signed with SHA1 and SHA2.

Is it possible to choose either SHA1 or SHA2 instead of dual signing?
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: Single and Dual Code Signing

Hi guys,

For those of you who like me only want to use SHA256 - if you already have a dual signed certificate pfx in place you only need to change one thing.

1. On the AI project, select the Digital Signature page.
2. Next look in the right hand window and at the Signature Properties section.
3. Tick the box named 'Sign only for modern operating systems (Windows 7 or newer).

Once done, run your build again and check your executable - it should only be signing using SHA256.

Good luck!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Single and Dual Code Signing

Hello,

I can confirm you indeed that when the "Sign only for modern operating systems, Windows 7 or newer ​(recommended)​" option is checked the installation files will be signed using a SHA-256 digest algorithm. When the "Sign for compatibility with all operating systems, including Windows XP/Vista ​(deprecated)​" option is checked the installation files will be dual signed if you have a SHA-256 certificate or will be signed with a SHA-1 algorithm if you have a SHA-1 only certificate.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”