goutils/cmd/stealchain-server
Joshua Liebow-Feeser 0e6b60a2c4 cmd/stealchain-server: Present server cert, request client cert 2017-08-29 12:42:19 -07:00
..
README cmd/stealchain-server: Initial commit. 2017-08-28 17:05:34 -07:00
main.go cmd/stealchain-server: Present server cert, request client cert 2017-08-29 12:42:19 -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.