[RESOLVED] Strange error during update to 2.5.3

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
User avatar
guigeek
Messages: 147
Registration: Nov 21, 2017 - 9:21 p.m.

February 12, 2024 - 10:06 AM

Hi!
After updating to version 2.5.3 on Debian 12, I'm getting the following error when creating the agent:

"Error white creating waptagent.exe: Checking hashes of executables on server against TranquitIT certificate has failed.
Please check if waptbinaries.sha256 has not been altered."

I saw that this bug was present in version 2.3 but seemed to be fixed afterward.

Any idea what the procedure is in this case?

Thanks!
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 12, 2024 - 10:34

Hello Guillaume,

There is a bug in the signature verification of waptsetup.exe from the console... Our old code signing key for signing executables expired this weekend, which is not a problem in itself because normally the signing mechanism validates that the certificate was valid at the time of signing.

The bug is that the console correctly verifies the certificate, but should only accept it if the signing occurred within the certificate's validity period (which is indeed the case). However, in this particular bug, the validation is based on the current date for the waptbinaries.sha256 file...

We are currently fixing this. In the meantime, you can launch the agent creation process via the command line; the signature verification of the waptbinaries.sha256 file is only performed in the console.

Code: Select all

"C:\Program Files (x86)\wapt\wapt-get.exe" build-waptagent -c "%localappdata%\waptconsole\waptconsole.ini"
Alternatively, wait until tomorrow before doing the upgrade to give us time to push the update.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
User avatar
guigeek
Messages: 147
Registration: Nov 21, 2017 - 9:21 p.m.

February 12, 2024 - 10:37

Thanks so much!
Marceld
Messages: 28
Registration: March 22, 2023 - 1:19 PM

February 12, 2024 - 2:22 PM

Good morning,

We're experiencing the same problem after upgrading from version 2.4.0.14143

And what identifier should we enter here?
wapt.PNG
wapt.PNG (7.48 KB) Viewed 11293 times
We tried using the console access credentials but it doesn't work (same for a VM (admin) user)
User avatar
guigeek
Messages: 147
Registration: Nov 21, 2017 - 9:21 p.m.

February 14, 2024 - 4:23 PM

Good morning,
I just installed the latest update, so I'm now on version 2.5.4.
But when creating the agent, I now get the following error:
"Error white creating waptagent.exe: waptsetupe.exe is not digitally signed or not signed by Tranquit IT. Aborting"

Any ideas?


dcardon wrote: Feb 12, 2024 - 10:34 Hello Guillaume,

There is a bug in the signature verification of waptsetup.exe from the console... Our old code signing key for signing executables expired this weekend, which is not a problem in itself because normally the signing mechanism validates that the certificate was valid at the time of signing.

The bug is that the console correctly verifies the certificate, but should only accept it if the signing occurred within the certificate's validity period (which is indeed the case). However, in this particular bug, the validation is based on the current date for the waptbinaries.sha256 file...

We are currently fixing this. In the meantime, you can launch the agent creation process via the command line; the signature verification of the waptbinaries.sha256 file is only performed in the console.

Code: Select all

"C:\Program Files (x86)\wapt\wapt-get.exe" build-waptagent -c "%localappdata%\waptconsole\waptconsole.ini"
Alternatively, wait until tomorrow before doing the upgrade to give us time to push the update.

Sincerely,

Denis
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 14, 2024 - 4:31 PM

Hello,

is this indeed version 2.5.4.15335?

The changelog and upgrade procedure are currently being written.

You need to manually install waptsetup 2.5.4.15335 and make sure to change waptdeploy in your GPOs.

- Simon
User avatar
guigeek
Messages: 147
Registration: Nov 21, 2017 - 9:21 p.m.

February 14, 2024 - 4:32 PM

Yes, that's the one
. I installed WaptSetup manually. But I don't have a GPO because I don't have Active Directory.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 14, 2024 - 4:35 PM

And the server has also been upgraded to 2.5.4.15335?

You can check on the WAPT server's web interface.
User avatar
guigeek
Messages: 147
Registration: Nov 21, 2017 - 9:21 p.m.

February 14, 2024 - 4:46 PM

Picture
Attachments
Screenshot 2024-02-14 164543.png
Screenshot 2024-02-14 164543.png (5.92 KB) Viewed 11026 times
Marceld
Messages: 28
Registration: March 22, 2023 - 1:19 PM

February 14, 2024 - 4:48 PM

Good morning,

We have exactly the same problem; we do have the latest local package (2.5.4.15335):
wapterreurX.PNG
wapterreurX.PNG (4.18 KB) Viewed 11026 times
THANKS
Locked