brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: use_ssl no gets you back into the WebGUI when Strict SSL locks you out

Security
~/tips/tip-unraid-use-ssl-no

use_ssl no

Regain WebGUI access from the console when DNS is down and SSL is set to Strict.

I like the myunraid.net certificate: a real padlock on the WebGUI at home and no browser warning to click away. The downside shows up the day your internet drops. With Use SSL/TLS set to Strict, the WebGUI only answers on the myunraid.net address, and that name needs working DNS.

The way back in is one console command. Log in over SSH, telnet or a keyboard and monitor on the server itself, and run:

use_ssl no

According to the Unraid docs this switches the WebGUI to plain HTTP, so you can reach it again at http://[ip address], for example http://192.168.1.10, or with your own port if you changed the HTTP port. If you’d rather stay encrypted during the outage, use_ssl yes switches to HTTPS with a self-signed certificate on https://tower.local or the IP address. Your browser will complain about that certificate, but the traffic is encrypted once you accept the warning.

When the internet is back, go to Settings, Management Access and set Use SSL/TLS back to Strict. My advice is to make sure SSH actually works before you ever pick Strict, because this rescue needs a shell and you don’t want to find out at the worst moment that you never set it up.

The caveat is that Strict is a choice you don’t have to make. With Yes, the docs say http://tower.local redirects to https://[servername].[localTLD] and that keeps working with the internet down, while the myunraid.net URL still works as an extra address. You trade the trusted certificate on the local name for a self-signed one.

Further reading: Unraid docs: Securing your connection

More Security tips tcpdump -nn -r capture.pcap port 53 mkcert -install Strict-Transport-Security: max-age=0 Referrer-Policy: strict-origin-when-cross-origin wp super-admin list All Security tips (79) All topics

Link