yyyar / gobetween

:cloud: Modern & minimalistic load balancer for the Сloud era
http://gobetween.io
Other
1.91k stars 210 forks source link

Implement mTLS for servers #315

Open plaets opened 3 years ago

plaets commented 3 years ago

This PR add support for server-side mTLS (go docs refer to this as "TLS Client Authentication"). I will add information about the changes to the wiki if this gets merged. Comments welcome, I'm not sure if client_auth keys are ok, but I prefer shorter keys than those used is tls.ClientAuthType. Default behavior is still to not require client certificates, so this shouldn't break compatibility.