Skip to content
One SSID and one switch port feeding a RADIUS server, which reads the role in each device's step-ca certificate and sends the laptop to VLAN 10, the camera to VLAN 20 and the TV to VLAN 30

One SSID, Every Device On Its Own VLAN: 802.1X With step-ca Certificates

Certificate-based 802.1X (EAP-TLS) for wired switch ports and a single WPA2/WPA3-Enterprise SSID, where the RADIUS server decides which VLAN each device lands on. step-ca 0.30.2 stamps a role into every device certificate and refuses one without; FreeRADIUS 3.2.10 maps that role to a VLAN, lets a per-device list override it, and runs TLS 1.3 only. Why a shared WiFi password is the problem, why certificates and why TLS 1.3, the revocation trap where FreeRADIUS ignores a new CRL on a HUP, what a device that does not check the server name will trust, protecting the RADIUS traffic itself with Message-Authenticator and RadSec over TLS 1.3, radsecproxy for kit that only speaks UDP, a wired port and a WiFi network simulated end to end, the Netgear and TP-Link settings, the Linux, Apple and Android client settings, every config file in full and as a download, and why so many admins and MSPs still do not bother and Cyber Essentials does not ask them to.

13th October 2026 · 50 min · 11692 words · Damien Dye
step-ca's SSH CA signs a host key and a user key; the client trusts the host CA and the server trusts the user CA, so neither keeps a list of keys

SSH Logins Signed By step-ca: No More authorized_keys

Using step-ca 0.30.2 as an SSH certificate authority, tested with OpenSSH 10.0. Why certificates beat authorized_keys and trust-on-first-use, switching the SSH CA on when step-ca is first set up, signing a host key (and the argument order that trips it), the two sshd_config lines and the single @cert-authority line in known_hosts, a 16-hour user certificate, four login tests including a wrong user and an untrusted host, renewing a host certificate with sshpop, and where it falls down.

9th October 2026 · 7 min · 1496 words · Damien Dye
step-ca issuing client certificates to phones from its intermediate, with a CRL marking a lost phone as revoked

Client Certificates From step-ca, And The Defaults That Lock Everyone Out

Using step-ca 0.30.2 to issue client certificates for mutual TLS, tested end to end with nginx 1.30.5 and Caddy 2.11.7. Why phones are the hard case, raising the 24-hour certificate limit in ca.json, turning the CRL on, why it fails with “different CRL scope” until idpURL and a template add a matching distribution point, the root CRL nginx needs for the whole chain, publishing CRLs over plain HTTP on IPv4 and IPv6, the refresh job that stops an expired CRL locking everyone out, and issuing, packaging, installing and revoking a phone’s certificate.

9th October 2026 · 11 min · 2464 words · Damien Dye
A phone holding a certificate from your own CA passes nginx or Caddy at home and reaches Home Assistant, while a scanner without one is refused in the handshake

The Home Assistant App Locked To A Certificate, With nginx Or Caddy And No Cloudflare

Locking the Home Assistant app to a client certificate with nginx or Caddy at home, with step-ca as the certificate authority instead of Cloudflare. What changes when Cloudflare leaves the path, an nginx config and a Caddy config each tested with no certificate, a good one, a revoked one and a WebSocket upgrade over IPv4 and IPv6, why nginx can check a CRL and Caddy can only keep an allowlist, the Home Assistant trusted-proxy settings, what the phone needs installed, and where it falls down.

9th October 2026 · 10 min · 2147 words · Damien Dye
step-ca in a container issuing certificates from its intermediate, with a CRL marking a lost phone as revoked

Your Own Certificate Authority: step-ca In A Container

Running Smallstep’s step-ca 0.30.2 in a Podman or Docker container as the certificate authority for everything inside the house, all of it tested. Why a private CA beats self-signed certificates and public ones for internal names, starting it with ACME and SSH switched on, the two passwords the image generates and where each one goes, trusting the root on every device, internal HTTPS for Caddy or anything else that speaks ACME, and step ca renew for services that do not. Client certificates and SSH each have their own post.

9th October 2026 · 8 min · 1690 words · Damien Dye
A phone holding a client certificate passes Cloudflare's edge check and reaches Home Assistant through a tunnel, while a scanner without one is blocked at the edge

The Home Assistant App Over Cloudflare, Locked To A Certificate, On The Free Plan

Reaching Home Assistant from the Android app away from home without putting a login page on the internet. How the remote-access options compare on exposure, real cost (machine load and DDoS as well as the bill), blocking risk and battery, why Cloudflare Access and service tokens do not suit the app, how the free-plan client certificates and a WAF custom rule lock a tunnel hostname to the phones that hold a certificate, which Home Assistant settings the reverse proxy needs, building the PKCS12 file, putting a Let’s Encrypt certificate on the origin and why renewal needs a restart, what the scanners did in the first two hours, and what the phone, Chrome, Helium and the Companion app’s two clients each did with the certificate. A self-hosted nginx or Caddy version is a separate post.

9th October 2026 · 19 min · 4709 words · Damien Dye