this dumps the TLS ClientHello message to stdout. this might be useful when testing your TLS client settings.
Install Go 1.19.4.
Add example.com
to your hosts
file:
echo '127.0.0.1 example.com' | sudo tee --append /etc/hosts >/dev/null
Build and launch the https server:
make
./dist/tls-dump-clienthello_$(go env GOOS)_$(go env GOARCH)_$(go env GOAMD64)/tls-dump-clienthello
Then open https://example.com in the client you want to test.
Open the example-clients directory to see some example clients.
The example clients can also be executed in a Vagrant managed VM. See the Vagrantfile (this requires the base boxes from rgl/windows-vagrant).