tlstun

simple go program to add tls support to other listeners
git clone https://git.parazyd.org/tlstun
Log | Files | Refs | README | LICENSE

commit 8547ddc15135893442ef34558a3dffbbb92d4fe9
parent 48ad34fd00cc54697ce8c1768c904b607a7f0a49
Author: parazyd <parazyd@dyne.org>
Date:   Tue,  9 Jul 2019 15:23:35 +0200

Revert to TLSv1.2.

Diffstat:
Mtlstun.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tlstun.go b/tlstun.go @@ -49,8 +49,8 @@ func tlsConfig(cert, key string) (*tls.Config, error) { tlscfg := &tls.Config{ Certificates: []tls.Certificate{creds}, - MinVersion: tls.VersionTLS13, - }, nil + MinVersion: tls.VersionTLS12, + } if *client { certpool := x509.NewCertPool()