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: a custom certificate for the Unraid WebGUI goes in /boot/config/ssl/certs

Unraid
~/tips/tip-unraid-custom-ssl-certificate

/boot/config/ssl/certs/[servername]_unraid_bundle.pem

Serve the Unraid WebGUI with your own domain certificate instead of a self-signed one.

If you already own a domain and a wildcard certificate for your home network, you can put the Unraid WebGUI on that same certificate. No myunraid.net address and no self-signed warning, just your own name.

The docs describe the steps under Settings, Management Access. Set Use SSL/TLS to Yes and set Local TLD to the domain in your certificate. Then place the certificate here, with your server name in the file name:

/boot/config/ssl/certs/[servername]_unraid_bundle.pem

For a server called tower with Local TLD home.example.com, that’s /boot/config/ssl/certs/tower_unraid_bundle.pem, and you open the WebGUI at https://tower.home.example.com. The certificate has to be valid for tower.home.example.com itself or for the wildcard *.home.example.com, and that name must sit in the Subject or the Subject Alternative Name field. Unraid 6.10.3 and later read SANs. The Local TLD has to match exactly what’s in the certificate, so no typo tolerance there.

You also own the rest of the chain. The docs are clear that with a custom certificate you procure it, manage the DNS record that points the name at your server, and upload a new one before the old one expires. Unraid doesn’t renew it for you. If your certificate comes from a tool that renews every few months, plan how the fresh file gets onto the boot device.

The caveat is what happens when it doesn’t match. If the certificate is invalid or doesn’t fit the server’s URL, Unraid deletes it and falls back to a default certificate. So keep your own copy of the file somewhere else, because a wrong Local TLD costs you the one on the boot device.

Further reading: Unraid docs: Securing your connection

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link