[RESOLVED] Unable to apply packages to a host

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
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

April 27, 2018 - 12:31

- Installed WAPT version: 1.5.1.23
- Server OS: Linux debian
- Operating system of the administration/package creation machine: Windows 10


hello wapt,

After reinstalling Windows (and even before), I am unable to apply packages to my own machine (on which the admin console is installed)
This works perfectly on basic hosts

Can you help me?

in C:\Program Files (x86)\wapt\log\waptservice.log

Code: Select all

2018-04-27 11:44:51,160 CRITICAL Error getting Packages index from https://XXX.local/wapt-host : EWaptCertificateUnknownIssuer: Unknown issuer wapt-privatekey for certificate wapt-privatekey
2018-04-27 11:44:51,234 CRITICAL Error getting Packages index from https://XXX.local/wapt-host : EWaptCertificateUnknownIssuer: Unknown issuer wapt-privatekey for certificate wapt-privatekey
2018-04-27 12:01:51,828 ERROR Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\lib\site-packages\rocket\main.py", line 143, in start
    time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call

2018-04-27 12:01:52,138 WARNING Unable to update server status : error: (2226, 'NetUserEnum', 'Cette op\xe9ration n\x92est autoris\xe9e que sur le contr\xf4leur principal du domaine.')
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

April 27, 2018 - 2:34 PM

And here are the messages that appear in the tray

: https://image.ibb.co/k4mamx/Capture.png
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

April 30, 2018 - 3:08 PM

I think I have a problem with the web server's SSL/TLS certificate

on my admin workstation:

Code: Select all

wapt-get update

Update package list

Certificate check failed for https://srv-repo/wapt/Packages and verify_cert C:\Program Files (x86)\wapt\ssl\server\srv-wapt15.crt

2018-04-30 14:55:17,858 CRITICAL Error getting Packages index from https://srv-repo/wapt : SSLError: 
HTTPSConnectionPool(host='srv-repo', port=443): Max retries exceeded with url: /wapt/Packages (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

2018-04-30 14:55:17,871 CRITICAL Error getting Packages index from https://srv-repo/wapt-host : SSLError: HTTPSConnectionPool(host='srv-repo', port=443): Max retries exceeded with url: /wapt-host/83601A62-B8FC-4140-8EC0-7AAEA154110F.wapt (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

Total packages : 0
A small clarification regarding my infrastructure:
the main server is srv-wapt15 and the repository is installed on a secondary server srv-repo
Indeed, I want my clients to retrieve their packages from this secondary server (a physical server) to avoid overloading the main server (a VM)
To do this, I followed the documentation to replicate a repository https://www.wapt.fr/fr/doc/Replicate_Mu ... index.html
lowix
Messages: 24
Registration: Apr 02, 2017 - 5:59 p.m.

May 3, 2018 - 4:40 PM

Solved: the problem stemmed from the secondary repository certificate not being correctly declared.
See: viewtopic.php?f=9&t=1130.
Thanks WAPT!
Locked