Set minimum TLS version to TLS 1.2
1 files changed, 1 insertions(+), 0 deletions(-) M tls.go
M tls.go => tls.go +1 -0
@@ 16,6 16,7 @@ import ( func getTLSConfig() *tls.Config { cfg := &tls.Config{} + cfg.MinVersion = tls.VersionTLS12 for i := 0; i < len(config.Domain); i++ { if config.Domain[i].Name == "" { fmt.Printf("Invalid domain name on domain %d\n", i)