[SOLVED] Error message: checkPackageSignature failed

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
Locked
corriou
Messages: 26
Registration: May 16, 2019 - 09:59

March 27, 2023 - 1:06 PM

Good morning,

I use package groups to create profiles for my different types of workstations. I rarely modify these groups, but I wanted to add a package to one of them today.
When I clicked the button Build Uploada window Error in application opened with the following message:
Error when uploading package: CheckPackageSignature failed for Administration(=83). Sign waptKey:.
I carried out other tests:
- modifying other groups => still the same error
- Creating a new group => OK, then modifying this new group => error message similar to the previous one
- Updating a package from the tranquil.it repositories => OK

Unfortunately, I cannot say from which version of Wapt the problem appeared.
My server (version 2.3.0.13516) is installed on Debian 11. My console (under Windows) uses the same version.

Sincerely,
Last edited by corriou on March 31, 2023 - 2:15 PM, edited 1 time.
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

March 28, 2023 - 4:44 PM

Hello,
Is your public certificate (.crt) used to sign packages/actions located in c:\program files (x86)\wapt\ssl?
Best regards,
Bertrand
llecaplain
Messages: 8
Registration: March 7, 2016 - 12:34

March 28, 2023 - 5:25 PM

I have the same problem and the certificate is definitely present
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 29, 2023 - 09:17

@llecaplain Wapt version, Wapt edition, server OS, client OS, etc. See forum rules + use cases (upgrade, fresh install, etc.).

Thank you, best regards,

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
corriou
Messages: 26
Registration: May 16, 2019 - 09:59

March 30, 2023 - 10:02

My certificate was located in a C:\private directory, but the path was correct in the settings.
I moved it to c:\program files (x86)\wapt\ssl and then changed the personal certificate path in the local WAPT configuration. When I check the associated key, it matches the certificate, but I still encounter the same error.

To clarify:
- WAPT Discovery (but the window displays WAPTConsole Enterprise version) is version 2.3.0.13516, obtained by upgrading from the previous version (I generally keep up with all versions).
- Debian 11 OS for the server
- Windows 10 22H2 for the console
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 30, 2023 - 11:38

In the private repository section of wapt,

can you sort by the "signatory" column to identify if you have multiple keys? Is it the same signer for all keys?

Then, when you search for your management machine in the inventory on your management machine, does the same certificate appear in the "Certificate" tab? Are

the files in your C:\Program Files (x86)\wapt\ssl directory .crt files?

Did you restart the console after adding the certificates to C:\Program Files (x86)\wapt\ssl?
corriou
Messages: 26
Registration: May 16, 2019 - 09:59

March 31, 2023 - 2:15 PM

Indeed, I have two different signers appearing, one for a single package, the most recent one. The older packages are signed with a different key.
So, I remembered that during the last update, I deleted the old configurations (using "Clean up old configurations" in waptsetup.exe), and when rebuilding them, I must have gotten confused. I might also have forgotten to check the " Install certificates provided by this installer". Probably a day when I was very tired.

Anyway, reinstalling the console via waptsetup (with the correct settings) solved my problem.

PS: I did have .crt files in my directory, and the console had also been restarted.

PS2: For the package with the wrong certificate, I simply reverted to a (not so) old version and modified it again to use the correct certificate.

Thank you for your help, always so quick and efficient.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 31, 2023 - 4:12 PM

Hi Alain,

thanks for your feedback. :-)

We'll try to add a clearer message during installation to avoid confusion.

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
Locked