Job registration error (Unable to register)

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
Answer
silica
Messages: 24
Registration: Nov 18, 2024 - 11:02

November 26, 2025 - 12:07

Good morning,

I just updated my server to version 2.6.1.17576
I have a post that isn't showing up despite the new agent being installed.

I tried:
- Uninstalling the agent + deleting the files
- Deletion of the position (with deletion in the database) in the console
- Installation of the new agent

The installation is OK, but the device is not showing up in the console.

Result of wapt-get register :

Code: Select all

Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
Registering host against server: https://srvwapt.mon.domaine
FATAL ERROR : Unable to register: waptserver https://srvwapt.mon.domaine not available
What else can I do?

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

November 26, 2025 - 12:24

Can you try launching it?

Code: Select all

wapt-get testperf
Simon
silica
Messages: 24
Registration: Nov 18, 2024 - 11:02

November 26, 2025 - 1:40 PM

Here is the result of wapt-get testperf:

Code: Select all

Server: https://srvwapt.mon.domaine
Authentication required for server:
Server CABundle: C:\Program Files (x86)\wapt\ssl\server\srvwapt.mon.domaine.crt
Server client certificate:
Server client key:

Waptserver https://srvwapt.mon.domaine Admin User: admin
Waptserver Password: xxx
********************
Unable to login with provided credentials: Http client error: THttpClientSocket.DoTlsAfter: TLS failed [EOpenSslNetTls TOpenSslNetTls.AfterConnection connect: OpenSSL 30500040 error 1 [SSL_ERROR_SSL (error:0A000086:SSL routines::certificate ve


Authentication on server failed
If I understand correctly, there's a problem with the certificate somewhere?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 26, 2025 - 1:55 PM

The certificate present on the Windows machine:

Code: Select all

type "C:\Program Files (x86)\wapt\ssl\server\srvwapt.mon.domaine.crt"
definitely does not match the one present on the server:

Code: Select all

cat /opt/wapt/waptserver/ssl/cert.pem
Can you check?
silica
Messages: 24
Registration: Nov 18, 2024 - 11:02

November 26, 2025 - 3:59 PM

Okay, so... I'm completely lost. Let me start from the beginning:

I don't have a certificate in C:\Program Files (x86)\wapt\ssl\server.
It's in C:\Program Files (x86)\wapt\ssl\.

Indeed, it doesn't match /opt/wapt/waptserver/ssl/cert.pem.

What I don't understand is that on a working machine, the certificate doesn't match either.

The certificates on those machines match /opt/wapt/waptserver/ssl/cert.pem.bak, which is there for reasons I don't even remember.
I don't know how I managed to mess it up.

Furthermore, I've noticed that I have a third certificate in /opt/wapt/waptserver/ssl/, which isn't self-signed, unlike the other two. It's a certificate generated with my company's CA.

I'd like to get all this sorted out.
I imagine with just one (self-signed) certificate? Both on the server and the workstation side.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 27, 2025 - 09:34

Wapt verifies the HTTPS certificate with this parameter in wapt-get.ini:

Code: Select all

[global]
verify_cert=
If it is at 1, there is a check with the consumer bundles
If it is 0 there is no check
If a file is specified, then check with that file.

In your testperf (in the log) it checks with C:\Program Files (x86)\wapt\ssl\server\srvwapt.my.domain.crt

So you seem to have a verification with a "Pinner" certificate (verify with wapt-get.ini)

You indicated "This is a certificate generated with my company's CA."

The file mentioned in "verify_cert" should therefore be your company's CA. (I assume)
Answer