Skip to content

Commit

Permalink
fix agent connection to proxy behind l7 lb (#48290)
Browse files Browse the repository at this point in the history
  • Loading branch information
greedy52 authored Nov 1, 2024
1 parent b8f1dc7 commit 0236830
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/service/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,9 @@ func (process *TeleportProcess) newClientThroughTunnel(tlsConfig *tls.Config, ss
ClientConfig: sshConfig,
Log: process.logger,
InsecureSkipTLSVerify: lib.IsInsecureDevMode(),
GetClusterCAs: apiclient.ClusterCAsFromCertPool(tlsConfig.RootCAs),
GetClusterCAs: func(context.Context) (*x509.CertPool, error) {
return getClusterCAs()
},
})
if err != nil {
return nil, nil, trace.Wrap(err)
Expand Down

0 comments on commit 0236830

Please sign in to comment.