Page 1 of 1
Web access problem + TOTP
Published: September 3, 2025 - 4:51 PM
by celine18
Hello,
1/ Since migrating to version 2.6, I no longer have access to our WAPT server page, even though the nginx configuration went smoothly.
2/ Following the update of our WAPT Enterprise server from version 2.6.0.16613 to the latest version, I can no longer connect to the console because it asks for a TOTP code that I don't know.
Can you help me?
Thank you in advance,
Best regards,
Céline
NB: Enterprise version running on Debian 12
Re: Web access problem + TOTP
Published: September 3, 2025 - 5:04 PM
by dcardon
Hello Céline,
the server reconfiguration was apparently done in strict CSPN mode by mistake. You can compare the version saved during the upgrade of the file /opt/wapt/conf/waptserver.ini.bck_2025-09-xx.... with the configuration in /opt/wapt/conf/waptserver.ini.
If you can still log in with your admin account (after correcting the configuration above), you can go to user management to remove the totp entries (otherwise, it's also possible with a command line on the database /opt/wapt/conf/security.sqlite).
Regards,
Denis
Re: Web access problem + TOTP
Published: September 3, 2025 - 5:15 PM
by celine18
Thank you for your quick reply.
At first glance, I don't see any difference.
I have a line: "cspn_toe = True" which I already had before.
Sincerely,
Céline
Re: Web access problem + TOTP
Published: September 3, 2025 - 6:41 PM
by dcardon
Hi Céline,
I think there was a bug during the upgrade. During the 2.6 CSPN installation, the TOTP is displayed on the screen so the admin can authenticate on the console. But apparently, it wasn't offered to you during the upgrade. We'll look into that.
In the meantime, could you try setting cspn_toe=False and restarting the server, then setting a TOTP on your account (see [1]), then setting the value back to True and restarting the server?
If that doesn't work, you can call the office so we can look into it together.
Best regards,
Denis
Re: Web access problem + TOTP
Published: September 5, 2025 - 9:23 AM
by celine18
Hi Denis,
It's working now, I've regained control of the console.
Thank you for your help.
Regarding access to the webpage, do you have any idea what the problem might be?
I'm getting a message saying the site is inaccessible.
Sincerely,
Céline
Re: Web access problem + TOTP
Published: September 5, 2025 - 10:29 AM
by dcardon
Hello Céline,
Thanks for the feedback
Regarding the homepage, within the framework of the Wapt 2.6 CSPN TOE, we have removed it by default; otherwise, there are many additional constraints to comply with. Since the homepage serves little purpose other than downloading the setup or agent, which can be distributed through a third-party channel, we have simply disabled it. To re-enable it, you can modify the following parameter in waptserver.ini [1]:
Sincerely,
Denis
https://www.wapt.fr/fr/doc/wapt-server- ... server-ini
Re: Web access problem + TOTP
Published: September 5, 2025 - 11:10 AM
by celine18
Denis,
thank you for this information.
I tried adding the indicated parameter but without success.
The site is still inaccessible.
Sincerely,
Céline
Re: Web access problem + TOTP
Published: September 5, 2025 - 12:16 PM
by dcardon
Hi again Céline,
ah yes, indeed, you need to restart the postconf for the nginx configuration to be modified. That said, if you restart the postconf in cspn-toe mode, it will remove it again... Okay, so that's not the right way to do it; there's a better way. You can delete the parameter and restart the waptserver service.
If it's the waptsetup.exe file you need to update the admin console, you can retrieve it directly from the server via SSH (in the /var/www/html/wapt/waptagent folder) or from our release folder at
https://wapt.tranquil.it/releases/ (you can verify the Authenticode signatures of the files before execution).
If it's the waptagent.exe file you want to retrieve, it's available on the admin's machine when the agent is created (an explorer.exe window opens when the agent is uploaded to the server), or you can retrieve it via SSH from the server (in the /var/www/html/wapt/waptagent folder), or you can retrieve it from the generated xyz-waptupgrade.wapt package (a Wapt package is a simple zip file, so it can be opened on a Windows machine to retrieve the file it contains).
We'll add a menu to the console to perform these two actions, and in the meantime, I'll update the documentation. It's true that it's not very intuitive when you're in cspn-toe mode... Thanks for the feedback,
Denis