Regenerate Self-Signed Web GUI SSL Certificate

Started by wildcard418, December 09, 2019, 02:23:43 AM

Previous topic - Next topic
Hello,
Is there a way to replay the generation of a new self-signed certificate like the one that was created when I installed OPNSense?

I restored a backup of my firewall and somehow the webGUI ssl certificate has become corrupted. I switched back to HTTP to regain access to the web GUI but I cannot enable SSL without a valid certificate. The web gui won't let me just create a self-signed certificate. It has to have a CA associated with it. That would be fine but the original web gui certificate didn't require a CA.

Can someone help?

If I recall properly it's System/Trust/Certificate
Click Add across the top right
In the Method Drop down click Create Internal Cert
Fill in the blanks.

The next thing you have to do once you create the cert is goto System/Settings/Administration
Under the SSL Cert drop down you have to choose the new Cert you just created