As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 33c12068 authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Merge branch 'Updating-min-TLS-version-to-12' into 'main'

Update httpclient.go with TLS 1.2 as minimum version

See merge request gitlab-org/gitlab-shell!435
parents 921712c8 6339a20c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -137,6 +137,7 @@ func buildHttpsTransport(hcc httpClientCfg, selfSignedCert bool, gitlabURL strin
tlsConfig := &tls.Config{
RootCAs: certPool,
InsecureSkipVerify: selfSignedCert,
MinVersion: tls.VersionTLS12,
}
if hcc.HaveCertAndKey() {
Loading
Loading
Loading
Loading
@@ -63,6 +63,7 @@ func StartHttpsServer(t *testing.T, handlers []TestRequestHandler, clientCAPath
server.TLS = &tls.Config{
Certificates: []tls.Certificate{cer},
MinVersion: tls.VersionTLS12,
}
server.TLS.BuildNameToCertificate()
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment