OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • How do I bypass the SSL certificate
« previous next »
  • Print
Pages: [1]

Author Topic: How do I bypass the SSL certificate  (Read 4388 times)

Russellb

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
How do I bypass the SSL certificate
« on: June 24, 2019, 04:26:10 pm »
Hi All

I messed up the creation of a new SSl certificate for the WebGUI admin page and now I am locked out.  I also turned off SSH access.

How do I bypass HTTPS so that I can remove the faulty certificate and start again?

Thanks

Russellb
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: How do I bypass the SSL certificate
« Reply #1 on: June 24, 2019, 06:00:03 pm »
curl has a parameter "-k" or use a proxy that intercepts and supports invalid certificates. Or use VGA / RS232.
Logged

Russellb

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: How do I bypass the SSL certificate
« Reply #2 on: June 24, 2019, 09:32:21 pm »
Thanks Fabian
I will try the console via the serial port.

If logged in via the console, where do I find the web gui settings I would normally find under  System: Settings: Administration?  I assume I should then select HTTP instead of HTTPS?

Thanks

Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: How do I bypass the SSL certificate
« Reply #3 on: June 24, 2019, 09:50:25 pm »
You cannot select the certificate there but if you change an interface, you can revert the web gui to HTTP.
Logged

Russellb

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: How do I bypass the SSL certificate
« Reply #4 on: June 26, 2019, 10:26:22 am »
Logging in via the console and reassigning the LAN interface did not seem to do the trick - still could not access the web gui.  I reset the firewall to factory defaults and then restored the config from a recent backup.

All back to normal (the importance of regular backups of the config file!) but my self signed SSL certificate is out of date - so back to the challenge of issuing a new one and using that to replace the old one, which is what caused my problem ion the first place.

Happy to receive guidance on that.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • How do I bypass the SSL certificate
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2