Page 1 of 1

[RESOLVED] Unable to apply packages to a host

Published: April 27, 2018 - 12:31
by lowix
- 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.')

Re: Unable to apply packages to a host

Published: April 27, 2018 - 2:34 PM
by lowix
And here are the messages that appear in the tray

: https://image.ibb.co/k4mamx/Capture.png

Re: Unable to apply packages to a host

Published: April 30, 2018 - 3:08 PM
by lowix
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

Re: Unable to apply packages to a host

Published: May 3, 2018 - 4:40 PM
by lowix
Solved: the problem stemmed from the secondary repository certificate not being correctly declared.
See: viewtopic.php?f=9&t=1130.
Thanks WAPT!