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.

  • surewhynotlem@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    In caddy, isn’t an OR is just two separate blocks?

    @authorized { header X-Custom-Pass “LONGRANDOMKEY01” # jim } @authorized { header X-Custom-Pass “LONGRANDOMKEY02” # Bob }

    I could be wrong. Caddy config is a dark art.