Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
SSL Weirdness [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SSL Weirdness [SOLVED] (Read 4358 times)
TheLatestWire
Jr. Member
Posts: 70
Karma: 6
SSL Weirdness [SOLVED]
«
on:
March 19, 2017, 02:55:24 am »
Hi,
Just a short time after logging into my OPNsense system and adjusting a firewall alias and then logging out, I tried to log back in and was presented with a SEC_ERROR_UNKNOWN_ISSUER insecure connection warning that I had not seen just 20 minutes earlier. I hadn't installed any updates in those twenty minutes.
Maybe I'm just misunderstanding or forgetting the webconfigurator website behavior but it just seemed odd. Is the correct cert for the web/gui front end to OPNsense the /var/etc/cert.pem file? Maybe I'm just being paranoid, it's just that all my browsers on all my systems, suddenly told me it was an untrusted cert, when just 20 minutes earlier it was trusted.
Any insight or suggestions would be greatly appreciated.
Many thanks,
ObecalpEffect.
«
Last Edit: March 19, 2017, 05:12:44 pm by ObecalpEffect
»
Logged
TheLatestWire
Jr. Member
Posts: 70
Karma: 6
Re: SSL Weirdness
«
Reply #1 on:
March 19, 2017, 02:59:53 am »
I see now that the cert just expired this evening.
The certificate expired on March 18, 2017 at 8:02 PM. The current time is March 18, 2017 at 8:14 PM.
What's the best method for installing a new cert? Should this be automatic? Can I install my own CAcert cert?
Thanks,
ObecalpEffect.
Logged
TheLatestWire
Jr. Member
Posts: 70
Karma: 6
Re: SSL Weirdness
«
Reply #2 on:
March 19, 2017, 04:37:21 am »
Well I created a CSR on the system after logging in with ssh, submitted it and received my new cert at CAcert and moved /var/etc/cert.pem to /var/etc/cert.pem.old then placed the new cert in /var/etc/cert.pem but it wouldn't take affect when I restarted all the service and a reboot just overwrote it with the expired self signed cert. :/
ObecalpEffect
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: SSL Weirdness
«
Reply #3 on:
March 19, 2017, 10:28:37 am »
You need to add your certificate to the configuration in the certificate settings and after that, you will have to choose it in the advanced settings.
After that, it should be persisted for the next boot.
Kind regards
Fabian
Logged
TheLatestWire
Jr. Member
Posts: 70
Karma: 6
Re: SSL Weirdness
«
Reply #4 on:
March 19, 2017, 05:11:33 pm »
Thank you Fabian! I was able to install my CAcert and now it's working well.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
SSL Weirdness [SOLVED]