Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for certPools (0.24 sec)

  1. internal/config/notify/parse.go

    			Key:   target.MqttQueueLimit,
    			Value: "0",
    		},
    	}
    )
    
    // GetNotifyMQTT - returns a map of registered notification 'mqtt' targets
    func GetNotifyMQTT(mqttKVS map[string]config.KVS, rootCAs *x509.CertPool) (map[string]target.MQTTArgs, error) {
    	mqttTargets := make(map[string]target.MQTTArgs)
    	for k, kv := range config.Merge(mqttKVS, target.EnvMQTTEnable, DefaultMQTTKVS) {
    		enableEnv := target.EnvMQTTEnable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  2. src/crypto/x509/verify.go

    	// anchors, but can be used to form a chain from the leaf certificate to a
    	// root certificate.
    	Intermediates *CertPool
    	// Roots is the set of trusted root certificates the leaf certificate needs
    	// to chain up to. If nil, the system roots or the platform verifier are used.
    	Roots *CertPool
    
    	// CurrentTime is used to check the validity of all certificates in the
    	// chain. If zero, the current time is used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    	if opts.Client != nil && opts.CAContentProvider != nil {
    		return nil, fmt.Errorf("oidc: Client and CAContentProvider are mutually exclusive")
    	}
    
    	client := opts.Client
    
    	if client == nil {
    		var roots *x509.CertPool
    		var err error
    		if opts.CAContentProvider != nil {
    			// TODO(enj): make this reload CA data dynamically
    			roots, err = certutil.NewPoolFromBytes(opts.CAContentProvider.CurrentCABundleContent())
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. src/crypto/x509/name_constraints_test.go

    	for _, cert := range certs {
    		pemBlock.Bytes = cert.Raw
    		pem.Encode(file, pemBlock)
    	}
    
    	return file
    }
    
    func testChainAgainstOpenSSL(t *testing.T, leaf *Certificate, intermediates, roots *CertPool) (string, error) {
    	args := []string{"verify", "-no_check_time"}
    
    	rootsFile := writePEMsToTempFile(allCerts(t, roots))
    	if debugOpenSSLFailure {
    		println("roots file:", rootsFile.Name())
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks.go

    }
    
    // configRootCAs configures and returns a reference to tls.Config instance if CAFile is provided
    func (evc ExternalEtcdVersionCheck) configRootCAs(config *tls.Config) (*tls.Config, error) {
    	var CACertPool *x509.CertPool
    	if evc.Etcd.External.CAFile != "" {
    		CACert, err := os.ReadFile(evc.Etcd.External.CAFile)
    		if err != nil {
    			return nil, errors.Wrapf(err, "couldn't load external etcd's server certificate %s", evc.Etcd.External.CAFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top