Skip to content

Commit

Permalink
fix agent connection to proxy behind l7 lb
Browse files Browse the repository at this point in the history
  • Loading branch information
greedy52 authored and github-actions committed Nov 1, 2024
1 parent 23f6a42 commit 3fcb5bb
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 3fcb5bb

Please sign in to comment.