OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: bobbythomas on July 06, 2017, 12:32:00 pm

Title: Web gui got locked out while changing the certificate.
Post by: bobbythomas on July 06, 2017, 12:32:00 pm
Hi All,

I think I am pissed off. I was trying change web gui certificate from the Letsencrypt ca to self signed one, but as soon I changed it I got locked out. Now I cannot access the web gui. When I try I get the following error "SEC_ERROR_INADEQUATE_CERT_TYPE" and I cannot bypass that one. I have imported the certificate to my PC and it is in the trusted ca container. Can we change the certificate back to Letsencrypt certificate through CLI? Thanks in advance.

Edit: I am on 17.1.9 version.

Regards,
Bobby Thomas.
Title: Re: Web gui got locked out while changing the certificate.
Post by: fabian on July 06, 2017, 01:09:15 pm
you can log in via the shell / SSH and use the menu to restore a previous setting
Title: Re: Web gui got locked out while changing the certificate.
Post by: bobbythomas on July 06, 2017, 01:30:20 pm
Thank you Fabian, I didn't know that it will create configuration backup after changes. I thought we can only restore to a previous config if have taken a manual config backup.

Thank you,
Regards,
Bobby Thomas.