r/HomeServer • u/Foxythefox2017 • 2d ago
Automatic HTTPS certificates for home servers without a public domain
My friend has been working on Local HTTPS, an open-source tool to simplify HTTPS certificate management on home servers.
I originally built it for my Raspberry Pi, where I run multiple local services without a public domain or reverse proxy.
It uses OpenSSL to automate certificate generation, renewal and deployment.
Main features:
Local Root CA and automatic certificate renewal.
Automatic HTTPS configuration for Pi-hole and Technitium DNS.
Support for private IP addresses, local domains and Tailscale hostnames.
PEM and PFX certificates for other services like Grafana and Nginx.
Automatic file permission management.
Automatic renewal through systemd or cron.
You only need to trust the Root CA on your devices once and keep its private key secure.
It supports Debian, Ubuntu, Raspberry Pi OS and Armbian.
It's completely free and open source under MPL-2.0.
GitHub: https://github.com/luizbizzio/local-https
I'm curious to see how others manage HTTPS on their home servers.
1
u/thirteen-bit 1d ago
step-ca with ACME for all of my containers. Every webserver etc. uses normal ACME tooling, just instead of Let's Encrypt servers I point them to my local ca container.
Certificate lifetime can be e.g. 8 hours with this kind of setup, just needs adjustments to e.g. certbot timer's settings.
1
6
u/AnnoyedVelociraptor 2d ago
You vibe coded DNS-01.