OPNsense Forum

English Forums => General Discussion => Topic started by: Daves_nt_here on August 07, 2024, 04:11:07 AM

Title: SSL load time for OPNsense dashboard
Post by: Daves_nt_here on August 07, 2024, 04:11:07 AM
When I log into the OPNsense dashboard from:
https://192.168.5.1:4433
the page loads almost instantly but when I log in from:
https://opnsense.example.com:4433
it can take a 1~2 min to load. Once loaded, the SSL cert is valid.

I tried adding a host override in Unbound but that didn't make any difference.
Title: Re: SSL load time for OPNsense dashboard
Post by: bartjsmit on August 07, 2024, 07:47:04 AM
What happens when you add an entry for it in your hosts file?
Title: Re: SSL load time for OPNsense dashboard
Post by: franco on August 07, 2024, 07:59:45 AM
No way it's DNS!


Cheers,
Franco
Title: Re: SSL load time for OPNsense dashboard
Post by: meyergru on August 07, 2024, 08:11:59 AM
Well, it could be, if that name also resolved to IPv6 and that does not work. Another alternative could be OCSP stapling or lack thereof.
Title: Re: SSL load time for OPNsense dashboard
Post by: Monviech (Cedrik) on August 07, 2024, 09:04:14 AM
Just as info for all the OCSP fans.

https://letsencrypt.org/2024/07/23/replacing-ocsp-with-crls.html

The future will be implementations like these in each browser:

https://github.com/mozilla/crlite
Title: Re: SSL load time for OPNsense dashboard
Post by: Daves_nt_here on August 07, 2024, 01:27:42 PM
Quote from: bartjsmit on August 07, 2024, 07:47:04 AM
What happens when you add an entry for it in your hosts file?
Yup, that did the trick. Loads as quick as the direct approach. Thanks!