Documentation
¶
Overview ¶
Package truemtls provides the library surface for mutual-TLS termination with a hand-manageable, directory-based trust store — mutual TLS done properly, minus the operational tax. Import trust + pki (+ proxy) and drop the returned *tls.Config onto any net/http server to require and enforce mTLS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServerTLSConfig ¶
ServerTLSConfig returns a *tls.Config that mandates a client certificate and delegates the trust decision to the store (pinned leaf or chain to a trusted authority; unknown certs are queued to the store's pending directory and the handshake is rejected).
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
truemtls
command
Command truemtls is a transparent reverse proxy that adds mandatory mutual TLS in front of any plain-HTTP backend, with a hand-manageable directory trust store and TOFU-style out-of-band approval.
|
Command truemtls is a transparent reverse proxy that adds mandatory mutual TLS in front of any plain-HTTP backend, with a hand-manageable directory trust store and TOFU-style out-of-band approval. |
|
internal
|
|
|
testca
Package testca mints ephemeral CA and leaf certificates for tests.
|
Package testca mints ephemeral CA and leaf certificates for tests. |
|
Package pki provides minimal, stdlib-only certificate generation — enough for mymcp to self-provision a server identity.
|
Package pki provides minimal, stdlib-only certificate generation — enough for mymcp to self-provision a server identity. |
|
Package proxy is a transparent reverse proxy.
|
Package proxy is a transparent reverse proxy. |
|
Package trust implements mymcp's mTLS authentication: a directory tree of PEM files (hand-manageable, no database) plus a TOFU pending queue.
|
Package trust implements mymcp's mTLS authentication: a directory tree of PEM files (hand-manageable, no database) plus a TOFU pending queue. |
Click to show internal directories.
Click to hide internal directories.