- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetKeyCertsForXDS (0.19 sec)
-
pkg/istio-agent/agent.go
if fileExists(rootCAPath) { return rootCAPath, nil } return "", fmt.Errorf("root CA file for XDS does not exist %s", rootCAPath) } // GetKeyCertsForXDS return the key cert files path for connecting with xds. func (a *Agent) GetKeyCertsForXDS() (string, string) { var key, cert string if a.secOpts.ProvCert != "" { key, cert = getKeyCertInner(a.secOpts.ProvCert) } else if a.secOpts.FileMountedCerts {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy.go
return nil, nil } xdsCACertPath, err := agent.FindRootCAForXDS() if err != nil { return nil, fmt.Errorf("failed to find root CA cert for XDS: %v", err) } key, cert := agent.GetKeyCertsForXDS() return &istiogrpc.TLSOptions{ RootCert: xdsCACertPath, Key: key, Cert: cert, ServerAddress: agent.proxyConfig.DiscoveryAddress, SAN: p.istiodSAN, }, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 27.9K bytes - Viewed (0)