Mutual TLS through a Reverse Proxy

Image by Willi Heidelbach from Pixabay

I created a sample mTLS application to test the configuration of the reverse proxies (namely HAProxy and Traefik) for routing the traffic based on the SNI hostname.

The sample app

A toy program that performs the validation of the client’s certificate.

func greet(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "App:%s Hello World…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store