goutils/cmd/stealchain-server
Kyle Isom f6d227946b Get rid of bazel.
Good riddance. More of a headache than it's worth.
2024-05-19 20:24:38 -07:00
..
README cmd/stealchain-server: Initial commit. 2017-08-28 17:05:34 -07:00
main.go Mass rewrite imports -> git.wntrmute.dev repo. 2023-05-04 13:58:43 -07:00

README

stealchain-server

This is a utility to extract the verified X.509 chain from a TLS
connection initiated by another client. It listens on a port, and
for each connection, it will dump the certificates that the peer
actually sent (and not the verified chain that is built from this).

It was written to assist in debugging issues with certificate chains.

There are a few knobs:

-listen specifies the address to listen on.

-ca allows the trusted CA roots to be specified via a PEM bundle of
root certificates.

-verify requires that the client present a valid certificate chain.