Browser won't auto-populate login after upgrade to OpenWrt 21.02.3

I recently upgraded from OpenWrt 19.07 to 21.02.3 and after the upgrade, Chrome no longer auto-populates the Luci login fields (e.g. name/password). The only obvious change I see is that the browser is now re-directing http to https and using a cert that Chrome flags as invalid with a red warning. I'm not certain the two things are connected but I'm guessing chrome won't autofill passwords on sites with invalid certs. Is this a known bug and is there a fix or workaround?

As you said, it's probably a security feature of the browser.

Get an official cert.

I'm not clear on what you mean by "official" cert. Are you talking about buying an SSL cert to use with the router's web server? Or creating a different kind of self-signed cert than the one that came with the 21.02 package? Are there some steps documented somewhere for doing what you're suggesting with OpenWrt?

Yes, something that is verifiable online, but they're free, you just have to renew them pretty frequently.
Look for LetsEncrypt or Google

You could probably add the default cert to the browser's exception/trusted list, if it'll still let you.

Thanks! That second link had the answer. I connected to OpenWrt via ssh and typed these commands:

uci set uhttpd.main.redirect_https=0
uci commit uhttpd
service uhttpd reload

Everything is back to normal again like it used to work on 19.07. Browser autocomplete works again and no more warnings about invalid certs. I only access Luci from my LAN, so don't really need httpd anyway.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.