38
Solution: How to get local SSL and use your public domain for local internal subdomains?
(lemmy.dbzer0.com)
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil.
No spam.
Posts are to be related to self-hosting.
Don't duplicate the full text of your blog or readme if you're providing a link.
Submission headline should match the article title.
No trolling.
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I would recommend just using caddy. It removes the complicated part of ssl management. For a local network it'll setup a local self signed certificate authority and you can just install those certificates to any devices on your LAN that you want to have access. For a public setup it'll use letsencrypt. You will still need to setup dns if you want wildcard routing.
If you want to use DNS challenge with Caddy it's kind of annoying though (need to download/compile a separate version with the DNS plugin you need).
Which is probably a good idea if you don't plan to expose the services publicly but want a real certificate to avoid self-signed cert warnings.
I've never had this issue but I run basically everything through docker and presumably it bundles this by default.