Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SystemCertPool (0.18 sec)

  1. istioctl/pkg/xds/google.go

    	}
    	return &mem, nil
    }
    
    func mcpDialOptions(ctx context.Context, gcpProject string, k8sCreds credentials.PerRPCCredentials) ([]grpc.DialOption, error) {
    	systemRoots, err := x509.SystemCertPool()
    	if err != nil {
    		return nil, fmt.Errorf("failed to get system cert pool: %w", err)
    	}
    	gcpCreds, err := oauth.NewApplicationDefault(ctx)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. api/go1.7.txt

    pkg crypto/tls, type Config struct, DynamicRecordSizingDisabled bool
    pkg crypto/tls, type Config struct, Renegotiation RenegotiationSupport
    pkg crypto/tls, type RenegotiationSupport int
    pkg crypto/x509, func SystemCertPool() (*CertPool, error)
    pkg crypto/x509, type SystemRootsError struct, Err error
    pkg debug/dwarf, method (*Data) Ranges(*Entry) ([][2]uint64, error)
    pkg debug/dwarf, method (*Reader) SeekPC(uint64) (*Entry, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    		address = *cc.URL
    	}
    	var certPool *x509.CertPool
    	if len(cc.CABundle) > 0 {
    		certPool = x509.NewCertPool()
    		certPool.AppendCertsFromPEM(cc.CABundle)
    	} else {
    		var err error
    		certPool, err = x509.SystemCertPool()
    		if err != nil {
    			return nil, err
    		}
    	}
    	tlsClientConfig := &tls.Config{RootCAs: certPool, MinVersion: tls.VersionTLS12}
    	client := http.Client{
    		Timeout: time.Second * 5,
    		Transport: &http.Transport{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top