Skip to content

Commit

Permalink
Merge branch 'main' into mwalas-localfile-read-grep
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mwalas authored Feb 5, 2025
2 parents 5e52e5d + b7adc10 commit 8d310e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth/mtls/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func NewClientCredentials(cert tls.Certificate, CAPool *x509.CertPool) credentia
return credentials.NewTLS(&tls.Config{
Certificates: []tls.Certificate{cert},
RootCAs: CAPool,
MinVersion: tls.VersionTLS13,
MinVersion: tls.VersionTLS12,
})
}

Expand Down
2 changes: 1 addition & 1 deletion auth/mtls/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func NewServerCredentials(cert tls.Certificate, CAPool *x509.CertPool) credentia
ClientAuth: tls.RequireAndVerifyClientCert,
Certificates: []tls.Certificate{cert},
ClientCAs: CAPool,
MinVersion: tls.VersionTLS13,
MinVersion: tls.VersionTLS12,
})
}

Expand Down

0 comments on commit 8d310e7

Please sign in to comment.