Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.zip

17 replies

lemmy.zip

mTLS is mutual TLS, more commonly known as client cert authentication (alongside the modern standard server authentication), for anyone else who has never heard of it by that name

25

I've never heard it called anything but mTLS. :shrug:

5

Container crutches. Ew. And if a dev can't spell self-hosted, then I don't trust them to do it properly.

-16

In the interest of giving more than “there are tons of those” I’ll suggest starting the search with https://caddyserver.com/

It provides a CA, reverse proxy, and can act as its own ACME server, providing mTLS between instances. 

5
Solar Bearreply
slrpnk.net

My main use case is using it to protect my exposed Home Assistant instance in a way that doesn't require a VPN that family can screw up. I can just install the cert into the app for them and it Just Works. I also use it for my own Gotify notifications.

As a more general rule, I apply it to anything I want to expose but can't easily protect using OIDC logins. I used to put more behind it, but I recently opened up my services to friends and family, so I moved to using Authentik as my primary defense for most things. mTLS was great when it was just me, I can easily install the cert into my own browser and all of my Android apps (except Firefox Android...) but friends and family just zone out when I explain why their new phone doesn't connect, so I had to adjust my systems to compensate.

7

I’ve found Authentik’s proxy will break things that don’t support it (like a Jellyfin app; afaik no app supports hitting an Authentik proxy login first). Do you have a way around that? Or are the friends/fam web-browser only unless they get around to the certificate?

4
lemmy.zip

I don't want to manage my mTLS. That's why I'm looking for a better solution.

To actually answer your question, I use mTLS to protect all my self hosted services. It is highly secure since it operates on the transport layer.

3

Gotchya, so at the reverse proxy stage you have a pathway for “if they have the mTLS certificate, allow in” to let you access your stuff from outside your local network?

2

Give the Pangolin project a look.

It's a reverse proxy with tunneling solution that can expose domain names to the internet without having to manage the certificates or open ports.

I use it in my home lab and it's very very good

https://docs.pangolin.net/

1
lemmy.ml

You mean a self hosted CA? Yes there are tons of those.

0

You reached the end

Is there a self hosted mTLS manager? | Spyke