goutils/cmd/stealchain-server
Joshua Liebow-Feeser 48b03c908d cmd/stealchain-server: Explicitly perform TLS handshake. 2017-08-29 09:53:51 -07:00
..
README cmd/stealchain-server: Initial commit. 2017-08-28 17:05:34 -07:00
main.go cmd/stealchain-server: Explicitly perform TLS handshake. 2017-08-29 09:53:51 -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.