Re: [go-nuts] Mutual tls example

2019-04-21 Thread Vasiliy Tolstov
Thank you, may be i find mode detailed example https://diogomonica.com/2017/01/11/hitless-tls-certificate-rotation-in-go/amp/ вс, 21 апр. 2019 г. в 15:22, Aldrin Leal : > > I did a while ago, but I can't share a sample. But you can build one, > provided that: > > 1. build your server as such (not

Re: [go-nuts] Mutual tls example

2019-04-21 Thread Aldrin Leal
I did a while ago, but I can't share a sample. But you can build one, provided that: 1. build your server as such (note the ClientAuth - thats where magic happens): ... rootCAs, _ := x509.SystemCertPool() if nil == rootCAs { rootCAs = x509.NewCertPool() }