mirror of
https://github.com/fosrl/newt.git
synced 2026-03-08 23:03:03 -05:00
Split mTLS client and CA certificates #33
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @3nprob on GitHub (Jun 5, 2025).
Currently, mTLS configuring reads private key + cert + CAs from a single file.
This conflates the client and server CA(s).
Single-file bundle also a very commonly results in misconfiguration: Users will believe they need to include the CA for their own cert, as opposed to remote ones.
I suggest breaking up the configuration:
--tls-client-certfile--tls-client-ca(can ideally be configured multiple times / a list to facilitate rotation without downtime)Alternatively, deprecate
tls-client-certand add separate arguments for cert/key/cas.