OPNsense Forum

English Forums => General Discussion => Topic started by: steven11 on June 18, 2025, 11:27:16 AM

Title: Can't get OPNsense certificate to work
Post by: steven11 on June 18, 2025, 11:27:16 AM
Hi,
my goal is to have a working certificate for my OPNsense in my LAN so that I can access it from my LAN devices without the annoying browser confirmations.

My OPNsense is running under https://opnsense.cflocal in my LAN.


For this, I have created a root CA certificate:
(https://code-factory.de/gfx/opnsense/root-ca.png)

...and I imported as a root CA certificate on my local computer.


Then I have created a server certificate with Common Name = opnsense.local and DNS Domain names = opnsense.local. The issuer of this is the root CA certificate I created before:
(https://code-factory.de/gfx/opnsense/server-certificate.png)


In the OPNsense admin settings I chose this new server certificate.


Now, when I reload the OPNsense browser tab, it is still not shown as secure. The strange thing to me is: Chrome shows the certificate as "valid" (which is what I expect). But why the hell is it not secure then??? Is there an issue with my certificate or is this some other problem?
(https://code-factory.de/gfx/opnsense/browser.png)
Title: Re: Can't get OPNsense certificate to work
Post by: Patrick M. Hausen on June 18, 2025, 12:24:06 PM
-
Title: Re: Can't get OPNsense certificate to work
Post by: steven11 on June 19, 2025, 10:49:24 AM
Don't mind...I did a computer restart and now it works. Sometimes it can be this easy :-)