Good evening everyone.
And sorry in advance for my bad English.
Yesterday I set up my Opnsense for the first time on my PC with a dual internet interface. I simply logged in to the GUI, changed the root password, and enabled https for the GUI. The problem is that since yesterday, whenever I don't connect to the GUI for a few hours, and I try to log in again from either the GUI or the console, I always get this error: "Wrong username or password," or I have to reset the password from the console every time. I should point out that the date and time are correct, and that I'm not entering the password incorrectly, because I've also tried simple passwords, but I still have the same problem after a short time. I'm wondering if there's a permanent solution to this problem because I can't log in to the console every time to reset the password. Thanks in advance to anyone who can help.
Given you commented on the date and time, are you using the TOTP feature?
Are you by any chance still running from the ISO? If no, since you connected using HTTP first, make sure that the browser connects using HTTPS to the OPNsense. And try from another browser and/or from a privacy windows.
Can you check from the console (have you enabled SSH access or accessing the physical console?) the webserver logs (/var/log/lighttpd/latest.log) for entries related to your login?
Quote from: Conte1605 on Today at 12:10:39 AMbecause I've also tried simple passwords
And by simple I assume you mean a password without any umlauts, other non-english or non-ASCII characters?