Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindRootCAForCA (0.13 sec)

  1. pkg/istio-agent/plugins.go

    )
    
    // WARNING WARNING WARNING
    // These interfaces must be stable to allow vendors plug custom CAs.
    
    type RootCertProvider interface {
    	GetKeyCertsForCA() (string, string)
    	FindRootCAForCA() (string, error)
    }
    
    var providers = make(map[string]func(*security.Options, RootCertProvider) (security.Client, error))
    
    func createCitadel(opts *security.Options, a RootCertProvider) (security.Client, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 03:32:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. pkg/istio-agent/agent.go

    		return err
    	}
    	err = conn.Close()
    	if err != nil {
    		log.Infof("connection is not closed: %v", err)
    	}
    
    	return nil
    }
    
    // FindRootCAForCA Find the root CA to use when connecting to the CA (Istiod or external).
    func (a *Agent) FindRootCAForCA() (string, error) {
    	var rootCAPath string
    
    	if a.cfg.CARootCerts == security.SystemRootCerts {
    		return "", nil
    	} else if a.cfg.CARootCerts != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top