locked out of router due to https certificate

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
jay ray
DD-WRT Novice


Joined: 01 Apr 2017
Posts: 35

PostPosted: Fri Jun 16, 2017 16:56    Post subject: locked out of router due to https certificate Reply with quote
A few days ago I set up a WAP from scratch. The last step I took was to tick the option for https access. After that I was unable to access the GUI because firefox changed the way they handle certificates.



This page used to have an advanced option where users could establish an exception for the site. But Mozilla is apparently taking a harder line on certificates recently and just refuses to go any further.

Microsoft Edge also blocks access due to "outdated or unsafe TLS security settings".

Chrome simply times out and suggests I check my internet connection.

It seems like all the browsers decided to do this at once. This will be a huge problem if I want to update firmware on my primary router or, dog forbid, need to revert to factory for any reason.

Is https access no longer viable for everyone of us? Am I maybe missing some kind of certificate configuration? What can I do to access the gui?

_________________
Netgear r8000 - DD-WRT v3.0-r46380
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6440
Location: UK, London, just across the river..

PostPosted: Sat Jun 17, 2017 6:48    Post subject: Reply with quote
https GUI access to the router is broken, you have to click here and there to allow this connection look for any available click spots and agree to permit this connection..
You can also update https certificate if its so important for you http://www.dd-wrt.com/phpBB2/viewtopic.php?t=27979
https://www.dd-wrt.com/phpBB2/viewtopic.php?t=154874&sid=94f621914b4eeddc88a4bf49e87e9bd3

otherwise use http access to GUI

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
TheMercenary
DD-WRT Novice


Joined: 14 Jun 2017
Posts: 4

PostPosted: Sat Jun 17, 2017 10:31    Post subject: Reply with quote
Use chrome. You can tell it to ignore the error and just continue
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6868
Location: Romerike, Norway

PostPosted: Sun Jun 18, 2017 20:09    Post subject: Reply with quote
Do you have telnet/ssh access to the router?

nvram set http_enable="1"
nvram set https_enable="0"
nvram commit
jay ray
DD-WRT Novice


Joined: 01 Apr 2017
Posts: 35

PostPosted: Sun Jun 18, 2017 22:32    Post subject: Reply with quote
Thank you everybody for your suggestions. And no, Per, I didn't have ssh/telnet. Setting those up are always the last step once everything else is in place. The second to last step is https.

In the end it was simpler to reset and reconfigure, this time without https. Which concerns me a little. Is this going to happen when next I upgrade the firmware on my main router as well? I admit to being out of the loop where certs are concerned.

_________________
Netgear r8000 - DD-WRT v3.0-r46380
statikeffeck
DD-WRT Novice


Joined: 19 Apr 2015
Posts: 2

PostPosted: Fri Sep 25, 2020 20:53    Post subject: Reply with quote
Hi all. Apologies for the thread resurrection from the dead, but came here from a Google search and I wanted to post my solution since I did not want to reset my router settings from scratch. First of all, it was dumb of me to enable HTTPS and DISABLE HTTP in the SAME settings change event, before testing if HTTPS actually worked on this thing Razz

To get back into my router (I didn't have Telnet or SSH enabled) I opened my Ubuntu 18.04 in VirtualBox and downloaded Firefox 7.0.1 from https://ftp.mozilla.org/pub/firefox/releases/7.0.1/ -- great that they have every release ever! I unzipped it, and simply ran `./firefox` from the terminal. I entered https://192.168.1.1, confirmed the security exception, and sure enough I was back in!

Very Happy Very Happy Enjoy Smile Smile

Edit: P.S. after seeing my posts on this forum, looks like I did this same mistake in 2015 and fixed it with a similar solution of using an old version of Firefox. LOL! My memory is fading in these years.
ptreadaway
DD-WRT Novice


Joined: 15 Jul 2018
Posts: 1

PostPosted: Tue Sep 13, 2022 6:53    Post subject: Easier way to do this when locked out.... Reply with quote
My heart sank when I thought I had to launch into another skein of tasks to get back into my DD-WRT as I had done the exact same thing.

Anyway, turns out you can launch Chrome and tell it to ignore SSH warnings. This worked for me, I switched off HTTPS and turned HTTP back on!

On Windows

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --ignore-certificate-errors

On Mac OS

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors --ignore-urlfetcher-cert-requests &> /dev/null

Original Post:
https://medium.com/idomongodb/chrome-bypassing-ssl-certificate-check-18b35d2a19fd


statikeffeck wrote:
Hi all. Apologies for the thread resurrection from the dead, but came here from a Google search and I wanted to post my solution since I did not want to reset my router settings from scratch. First of all, it was dumb of me to enable HTTPS and DISABLE HTTP in the SAME settings change event, before testing if HTTPS actually worked on this thing Razz

To get back into my router (I didn't have Telnet or SSH enabled) I opened my Ubuntu 18.04 in VirtualBox and downloaded Firefox 7.0.1 from https://ftp.mozilla.org/pub/firefox/releases/7.0.1/ -- great that they have every release ever! I unzipped it, and simply ran `./firefox` from the terminal. I entered https://192.168.1.1, confirmed the security exception, and sure enough I was back in!

Very Happy Very Happy Enjoy Smile Smile

Edit: P.S. after seeing my posts on this forum, looks like I did this same mistake in 2015 and fixed it with a similar solution of using an old version of Firefox. LOL! My memory is fading in these years.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Tue Sep 13, 2022 14:18    Post subject: Reply with quote
@ptreadaway

Welcome to our lively community.

Your workarounds are great, only if you use the methods above only for DD-WRT, but not recommend for normal usage.

Its far easier to add a certificate exception to browser for DD-WRT and ignore the dumb its not safe site nonsense.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
jwieland
DD-WRT User


Joined: 31 May 2018
Posts: 72

PostPosted: Wed Sep 14, 2022 3:12    Post subject: Reply with quote
I see this with Firefox after I load an update on my router. All I have to do is to have Firefox reload the page (control F5 for instance), and then Firefox will display the page that lets you go on to accept the new certificate.
_________________
Netgear R9000
Netgear R7800 (spare)
Linksys WRT1200ac v2 (spare)
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14224
Location: Texas, USA

PostPosted: Wed Sep 14, 2022 3:56    Post subject: Reply with quote
Private Browsing Mode. Specifically from experience as I use it most of the time, Pale Moon Portable in Private Browsing Mode does not have this problem.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum