this post was submitted on 16 Aug 2026
52 points (100.0% liked)

Selfhosted

61513 readers
1447 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. 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. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

There are some services that I expose to the internet (using Apache reverse proxy) that really should be accessed by only a small set of devices. Requiring client certificates seems like a great way to reduce the attack surface and prevent brute force attacks (since the attacker doesn't even get a chance to attempt a login).

I wonder about the difficulty on the client side as well as other practical implications. The clients are smartphones of various makes.

you are viewing a single comment's thread
view the rest of the comments
[–] tinsuke@lemmy.world 4 points 2 days ago

I use mTLS with Caddy to expose some of my services. It is quite manageable, and I only use if for myself and my wife.

We both use Android phones, and I configure access via apps for the services, that use the devices' certificate store. It seems like the iOS way is to provide the client certificate and password to each app that's gonna use it. I'm happy we can avoid that.

Big plus side for us is the simplicity of it all, there is no "always on VPN" requirement, and things "just work" with acceptable security.

I also sometimes access the services via Firefox, which is also able to use the device's certificate store, although I have to keep selecting the same certificate each time.