Comment on Question about traffic using Cloudflare tunnel
AmbiguousProps@lemmy.today 6 days agoYou can use caddy to get internal https via cloudflare API, and no traffic needs to go through a cloudflare tunnel for that.
Comment on Question about traffic using Cloudflare tunnel
AmbiguousProps@lemmy.today 6 days agoYou can use caddy to get internal https via cloudflare API, and no traffic needs to go through a cloudflare tunnel for that.
aksdb@lemmy.world 6 days ago
Possible, true. But then the setup also becomes more complicated. In addition you end up with different certs for local and remote access, which could cause issues with clients if they try to enforce cert pinning for example.
AmbiguousProps@lemmy.today 6 days ago
The (wildcard) certs are the same, as it’s what caddy is pulling via API. You can either build the cloudflare module into caddy via docker build, or use a prebuilt version. It doesn’t create two separate certs for local and remote.
It works really well for me, and is actually the most straight forward way to get valid certs for internal services I’ve found. Since they’re wildcard, my internal domains don’t get exposed through certificate authorities.