Five_Bittel
Posts: 1
Joined: Wed Jan 24, 2024 11:52 am

Digital Signing Fails all of a sudden

Wed Jan 24, 2024 11:59 am

The Digital Signing just stopped working all of a sudden and I can't get a good error message as to why.
There is a certificate attached and it's still valid (although just for 3 more weeks until it has to be renewed, maybe that's the issue?)

But I can't get a good error message as to why. Is it the date? Can't he find the certificate? What is it?
How can I get a better error message or more details then this:?

Code: Select all

The digital signing of the APPDIR\Application.exe file failed. Error message: 'SignTool Error: No certificates were found that met all the given criteria.

For a possible solution please check our Digital Signature FAQ from:
https://www.advancedinstaller.com/user-guide/faq-digital-signature.html  '

Advanced Installer 21.3.1 build 69aaef70
*** Stack Trace (x86) ***

[0x76978e42]  RaiseException()
[0x71eb7e86]  CxxThrowException()
[0x015a6014]  -----
[0x015a2ec9]  -----
[0x015a2b0e]  -----
[0x01d750a7]  -----
[0x76dd9688]  free()
[0x02baa569]  -----
[0x01e4167d]  -----
[0x0159ba96]  -----
[0x0159b91e]  -----
[0x0159b92d]  -----

MikeMcLoughlin
Posts: 2
Joined: Wed Jan 24, 2024 4:09 pm

Re: Digital Signing Fails all of a sudden

Wed Jan 24, 2024 4:12 pm

I have also experienced this problem for the last couple of days. My certificate is hosted in an Azure keyvault. I think that the response format from Azure has changed recently.

electricblue81
Posts: 1
Joined: Wed Jan 24, 2024 4:14 pm

Re: Digital Signing Fails all of a sudden

Wed Jan 24, 2024 4:19 pm

We've had similar started late on Monday (22nd Jan 2024) are you storing your certificate in an Azure Key vault?

Liviu
Posts: 1026
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Digital Signing Fails all of a sudden

Thu Jan 25, 2024 9:29 am

Hello guys,

We cannot reproduce the behavior.

To assist us in conducting a thorough investigation of this issue, can you please send us the .AIP (project file) via email to support at advancedinstaller dot com, without the TenantID and APPID?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Liviu
Posts: 1026
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Digital Signing Fails all of a sudden

Fri Jan 26, 2024 1:28 pm

Hello guys,

My colleague Daniel has posted a workaround on the forum below:

Azure key vault signing fall in IDE

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Digital Signing Fails all of a sudden

Sun Jan 28, 2024 8:32 am

Hi,

Can you please download and use the following debug version of Advanced Installer 21.5? And let us know if this makes any difference?

This includes some improvements we hope will fix this issue.

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

AlexThunder
Posts: 15
Joined: Mon Sep 06, 2021 3:30 pm

Re: Digital Signing Fails all of a sudden

Tue Feb 27, 2024 8:00 am

Hello Daniel,

is the debug installer still the best way to solve this problem? For me, signing worked after installing this version, but I'm seeing other issues with this debug version that may just be because it's a debug version.... I can't create productive installers with this version. When will there be a regular release that includes the Azure Key Vault fix?

Best,
Alex

AlexThunder
Posts: 15
Joined: Mon Sep 06, 2021 3:30 pm

Re: Digital Signing Fails all of a sudden

Wed Feb 28, 2024 12:58 pm

Looks like you released the 21.5 version now, but it is getting blocked from windows defender
Detected: Trojan:Script/Wacatac.B!ml
Status: Removed

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Digital Signing Fails all of a sudden

Wed Feb 28, 2024 4:33 pm

Hello Alex,

Indeed, the 21.5 version is already available.

Regarding the detection, this is quite strange. We have scanned the entire MSI using VirusTotal and got no detections.

Additionally, I downloaded the MSI today once again and manually scanned it, which resulted in 0 threads as well:
Screenshot_116.png
Screenshot_116.png (37.59KiB)Viewed 3936 times
That being said, could you please try to update your Microsoft Defender Database and let me know if you are still able to reproduce this false-positive?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

AlexThunder
Posts: 15
Joined: Mon Sep 06, 2021 3:30 pm

Re: Digital Signing Fails all of a sudden

Wed Feb 28, 2024 4:49 pm

My defender definition is the newest one. I can reproduce the behaviour.

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Digital Signing Fails all of a sudden

Fri Mar 01, 2024 3:02 pm

Hello Alex,

Could you please try updating it again?

We just received news from the Microsoft team that the file was clean and they weren't able to reproduce it.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

AlexThunder
Posts: 15
Joined: Mon Sep 06, 2021 3:30 pm

Re: Digital Signing Fails all of a sudden

Tue Mar 12, 2024 10:28 am

Just installed the latest version 21.5.1 and I see the same problem with the Azure Key Vault again:

Could not read server response.

Advanced Installer 21.5.1 build dda15b93
*** Stack Trace (x86) ***

[0x75f49542] RaiseException()
[0x77ba7e86] CxxThrowException()
[0x00e7f268] -----
[0x7292c4ec] HttpQueryInfoW()
[0x00800000] MODULE_BASE_ADDRESS

Unistalled the 21.5.1 and reinstalled the 21.5 and now also this version isn't working anymore:

Could not read server response.

Advanced Installer 21.5 build e6df463a
*** Stack Trace (x86) ***

[0x76c48e82] RaiseException()
[0x6e2e7e86] CxxThrowException()
[0x00eef268] -----
[0x6e897278] HttpQueryInfoW()
[0x00870000] MODULE_BASE_ADDRESS

Anyone else having that issue again? Did Microsoft change the response or am I doing something wrong? I checked the credentials and they are fine.

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Digital Signing Fails all of a sudden

Tue Mar 12, 2024 3:31 pm

Hi Alex,

We were able to replicate sporadically the same Key Vault signing error on our side too. Most likely the signing error is caused by the Microsoft's Azure Key Vault servers that seems to be unresponsiveness sometimes.

We worked on an improvement (we retry the Key Vault signing several times in a row) for this and it will be included in a future version of Advanced Installer. And hopefully this will avoid this issue.

When released we will update this forum thread too. Until then, please download and use the following RC version of Advanced Installer 21.6 which includes this improvement.

Let us know if this helps you.

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

Return to “Common Problems”