Locked myself out from admin UI with wrong certificate

Started by tz-mbc, March 08, 2023, 11:16:42 AM

Previous topic - Next topic
Is there a cli way of changing which cert is used for the admin UI?
I seem to have locked myself out by accidentally selecting the wrong cert. Browser runs into timeout.
System" - "Settings" - "Administration". The Listbox under "SSL certificate"


QuoteIs there a cli way of changing which cert is used for the admin UI?
From the CLI chose the second option (Set interface IP) then choose LAN, follow the steps at the end it'll ask you if you want to revert back to HTTP and then if you want to regenerate a new self-signed cert choose either.
Disclaimer: All advice presented is "AS IS", no warranties.
I'm not part of the opnsense team, just trying to help.

Great! Thanks a lot.
I ended up applying a backup in the meantime but this might come in handy in the future.