Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for certRoot (0.33 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    		}
    		ts := httptest.NewUnstartedServer(h)
    		ts.TLS = &tls.Config{
    			Certificates: []tls.Certificate{cert},
    		}
    		ts.StartTLS()
    		return ts
    	}
    }
    
    func localhostCertPool(t *testing.T) *x509.CertPool {
    	localhostPool := x509.NewCertPool()
    
    	if !localhostPool.AppendCertsFromPEM(localhostCert) {
    		t.Errorf("error setting up localhostCert pool")
    	}
    	return localhostPool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  2. src/crypto/rsa/rsa_test.go

    		GenerateMultiPrimeKey(rand.Reader, 3, i)
    		GenerateMultiPrimeKey(rand.Reader, 4, i)
    		GenerateMultiPrimeKey(rand.Reader, 5, i)
    	}
    }
    
    func TestGnuTLSKey(t *testing.T) {
    	// This is a key generated by `certtool --generate-privkey --bits 128`.
    	// It's such that de ≢ 1 mod φ(n), but is congruent mod the order of
    	// the group.
    	priv := parseKey(testingKey(`-----BEGIN RSA TESTING KEY-----
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:55:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. docs/ja/docs/deployment/concepts.md

    ### HTTPS 用ツールの例
    TLS Termination Proxyとして使用できるツールには以下のようなものがあります:
    
    * Traefik
        * 証明書の更新を自動的に処理 ✨
    * Caddy
        * 証明書の更新を自動的に処理 ✨
    * Nginx
        * 証明書更新のためにCertbotのような外部コンポーネントを使用
    * HAProxy
        * 証明書更新のためにCertbotのような外部コンポーネントを使用
    * Nginx のような Ingress Controller を持つ Kubernetes
        * 証明書の更新に cert-manager のような外部コンポーネントを使用
    * クラウド・プロバイダーがサービスの一部として内部的に処理(下記を参照👇)
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    	// RootCAs defines the set of root certificate authorities
    	// that clients use when verifying server certificates.
    	// If RootCAs is nil, TLS uses the host's root CA set.
    	RootCAs *x509.CertPool
    
    	// NextProtos is a list of supported application level protocols, in
    	// order of preference. If both peers support ALPN, the selected
    	// protocol will be one from this list, and the connection will fail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  5. src/crypto/x509/x509_test.go

    		t.Fatal("CreateCertificate didn't fail when SignatureAlgorithm = MD5WithRSA")
    	}
    }
    
    func (s *CertPool) mustCert(t *testing.T, n int) *Certificate {
    	c, err := s.lazyCerts[n].getCert()
    	if err != nil {
    		t.Fatalf("failed to load cert %d: %v", n, err)
    	}
    	return c
    }
    
    func allCerts(t *testing.T, p *CertPool) []*Certificate {
    	all := make([]*Certificate, p.len())
    	for i := range all {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"X25519", Const, 8},
    		{"X509KeyPair", Func, 0},
    	},
    	"crypto/x509": {
    		{"(*CertPool).AddCert", Method, 0},
    		{"(*CertPool).AddCertWithConstraint", Method, 22},
    		{"(*CertPool).AppendCertsFromPEM", Method, 0},
    		{"(*CertPool).Clone", Method, 19},
    		{"(*CertPool).Equal", Method, 19},
    		{"(*CertPool).Subjects", Method, 0},
    		{"(*Certificate).CheckCRLSignature", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. src/net/http/transport_test.go

    			logf("%s", p)
    			return len(p), nil
    		}), "", 0)
    	}).ts
    
    	certpool := x509.NewCertPool()
    	certpool.AddCert(ts.Certificate())
    
    	c := &Client{Transport: &Transport{
    		TLSClientConfig: &tls.Config{
    			ServerName: "dns-is-faked.golang",
    			RootCAs:    certpool,
    		},
    	}}
    
    	trace := &httptrace.ClientTrace{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top