Invalid signature

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

October 11, 2016 - 4:33 PM

Good morning,

Since I switched PCs to create the WAPT packages, I get this kind of error message after modifying them:

Code: Select all

Errors:
    42 - 2016-10-11T15:41:36.017000 - Installation de dst-scratch (=2.0.450.1-2) (task #42): http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 11770937 / 61952364 (19%) (10906 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 24161397 / 61952364 (39%) (10633 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 36551857 / 61952364 (59%) (9710 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 48942317 / 61952364 (79%) (9881 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 61332777 / 61952364 (99%) (9923 KB/s)
    http://172.16.80.4/wapt/dst-scratch_2.0.450.1-2_all.wapt : 61952364 / 61952364 (100%) (9615 KB/s)
    Exception: Package file C:\wapt\cache\dst-scratch_2.0.450.1-2_all.wapt signature is invalid
    Traceback (most recent call last):
    File "C:\wapt\waptservice\waptservice.py", line 2031, in run
    self.running_task.run()
    File "C:\wapt\waptservice\waptservice.py", line 1291, in pwrapper
    return func(*arg, **kwargs)
    File "C:\wapt\waptservice\waptservice.py", line 1351, in run
    self._run()
    File "C:\wapt\waptservice\waptservice.py", line 1753, in _run
    self.result = self.wapt.install(self.packagename,force = self.force)
    File "C:\wapt\common.py", line 3720, in install
    raise Exception(u'Package file %s signature is invalid' % ensure_unicode(fname))
    Exception: Package file C:\wapt\cache\dst-scratch_2.0.450.1-2_all.wapt signature is invalid
I installed the Wapt-dev package on the new PC, copied the certificate file from the old PC, and configured its path in the options. Is there anything else I need to do to ensure the signature is correct?
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

October 11, 2016 - 4:53 PM

You need to put the path to the private key in the file c:\wapt\wapt-get.ini

Code: Select all

[global]
private_key=c:\private\macleprivee.pem
Tranquil IT
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

October 12, 2016 - 08:16

Thank you! I will test it again with this modification.
Matthew
Messages: 14
Registration: September 19, 2016 - 8:50 p.m.

October 12, 2016 - 10:00

Yes, it's actually a strange procedure because the console offers to make this change using the GUI but does not reflect the changes in the ini file.
Locked