Page 1 of 2

[SOLVED] Problem creating the agent

Published: March 19, 2018 - 5:15 PM
by PPE
Hello,

I'm having a problem (actually two...) when creating the agent on a fresh WAPT 1.5 installation under Windows.

First, I don't understand the purpose of the "Verify HTTPS server certificate" checkbox in the agent creation interface.
In any case, I had to uncheck it; otherwise, the agent wouldn't be created, displaying the error message shown in the attached image (Attachment 1).

Second, and more annoyingly, if I uncheck this box, the agent creation process does proceed and seems to complete normally (see Attachment 2). However, I can't access the agent from the web interface (Attachment 3).

For your information, I created the agent directly from the server.

Any ideas?

Thanks in advance.

Re: Problem creating the agent

Published: March 19, 2018 - 5:49 PM
by agauvrit
Good morning,
First, I don't understand the purpose of the "verify HTTPS server certificate" checkbox in the agent creation interface.
In any case, I had to uncheck it; otherwise, the agent wouldn't be created, resulting in the error message shown in the attached image (AP1).
The checkbox allows you to verify the HTTPS SSL/TLS certificate of your WAPT server during exchanges with the agent.
If your server's certificate (srvwaptav.lyceestjo.fr) is not valid (self-generated and not issued by a recognized certification authority, e.g., Gandi), then it is normal that it does not work.

This procedure is documented: https://www.wapt.fr/fr/doc/Installation ... icate.html

When sending the agent, this certificate is checked and this also prevents it from being sent to the server; fix this issue and it will be functional.

Alexander

Re: Problem creating the agent

Published: March 19, 2018 - 6:21 PM
by sfonteneau
Just to be sure, I tried again, and it works for me.

The documentation says to modify the Windows firewall on the WAPT server. But perhaps your antivirus also acts as a firewall and is blocking port 8443?

On the server, the interface responds at: https://127.0.0.1:8443 ??

Re: Problem creating the agent

Published: March 20, 2018 - 08:19
by PPE
Yes, that works. I can access the server's homepage on the LAN.
However, I just saw in the documentation that the private key and certificate should be created from another machine.
But I did it directly on the server by installing waptsetup...

Could that be the reason for my problem?

Thanks.

Re: Problem creating the agent

Published: March 20, 2018 - 08:31
by sfonteneau
PPE wrote: March 20, 2018 - 8:19 AM Yes, that answers your question. I can access the server's homepage on the LAN.
However, I just saw in the documentation that the private key and certificate creation should be done from another machine.
But I did it directly on the server by installing waptsetup...

Could that be the reason for my problem?

Thanks.
This is indeed not recommended for safety reasons.

But that doesn't explain your problem

Re: Problem creating the agent

Published: March 20, 2018 - 09:55
by PPE
Okay... Well, I'm stuck. I tested the link to waptdeploy and it works. (see attached image)

In which folder should waptsetup be saved so I can check if it's there?

Thanks.

Re: Problem creating the agent

Published: March 20, 2018 - 09:57
by sfonteneau

Re: Problem creating the agent

Published: March 20, 2018 - 10:02
by PPE
I misspoke. I was referring to waptsetup-tis.exe, the waptsetup file that should be located on my server.

Thank you.

Re: Problem creating the agent

Published: March 20, 2018 - 10:05 AM
by agauvrit
Good morning,

As Simon indicated:

Code: Select all

Pour la suite, télécharger manuellement WAPTSetup depuis : https://wapt.tranquil.it/wapt/releases/latest/waptsetup.exe
The presence of this installer is not essential for the proper functioning of the WAPT server; this installer will only be used when installing your console on the administrator's workstation.

Alexander

Re: Problem creating the agent

Published: March 20, 2018 - 11:03
by PPE
Hello Alexandre,

As I mentioned earlier, I've already downloaded this "generic" waptsetup. My problem concerns the "custom" waptserver-tis.exe file which, despite the agent generation running correctly, isn't available via the server link.

So I'm trying to verify that the waptserver-tis.exe file is saved in the correct location on the server... but I don't know where to look.

I hope that's clear...