diff --git a/pkg/webservice/server.go b/pkg/webservice/server.go index 084043c..1b7b1e5 100755 --- a/pkg/webservice/server.go +++ b/pkg/webservice/server.go @@ -92,6 +92,7 @@ func WebServer() { InsecureSkipVerify: false, ServerName: configs.UIConfig.WebService.Host, Certificates: getCertificates(), + MinVersion: tls.VersionTLS13, }, Handler: webServerMux, ErrorLog: log.Logger(), diff --git a/tools/install_go_linter b/tools/install_go_linter index 26c1996..535c26b 100755 --- a/tools/install_go_linter +++ b/tools/install_go_linter @@ -3,7 +3,7 @@ set -x tools_bin_dir="${BASH_SOURCE%/*}" download_url=https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh -version=v1.27.0 +version=v1.36.0 if ! curl -sfL "$download_url" | sh -s -- -b "$tools_bin_dir/bin" "$version"; then printf "Something went wrong while installing golangci-lint\n" 1>&2