Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sniCerts (0.49 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig.go

    	}
    
    	for i, sniCert := range c.sniCerts {
    		currCert, currKey := sniCert.CurrentCertKeyContent()
    		if len(currCert) == 0 || len(currKey) == 0 {
    			return nil, fmt.Errorf("not loading an empty SNI certificate from %d/%q", i, sniCert.Name())
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    				host: "localhost",
    				ips:  []string{"127.0.0.1"},
    			},
    			SNICerts: []NamedTestCertSpec{
    				{
    					TestCertSpec: TestCertSpec{
    						host: "localhost",
    					},
    				},
    			},
    			ExpectedCertIndex: 0,
    		},
    		"matching SNI cert": {
    			Cert: TestCertSpec{
    				host: "localhost",
    				ips:  []string{"127.0.0.1"},
    			},
    			SNICerts: []NamedTestCertSpec{
    				{
    					TestCertSpec: TestCertSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/config.go

    	Listener net.Listener
    
    	// Cert is the main server cert which is used if SNI does not match. Cert must be non-nil and is
    	// allowed to be in SNICerts.
    	Cert dynamiccertificates.CertKeyContentProvider
    
    	// SNICerts are the TLS certificates used for SNI.
    	SNICerts []dynamiccertificates.SNICertKeyContentProvider
    
    	// ClientCA is the certificate bundle for all the signers that you'll recognize for incoming client certificates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    		namedTLSCerts = append(namedTLSCerts, tlsCert)
    		if err != nil {
    			return fmt.Errorf("failed to load SNI cert and key: %v", err)
    		}
    	}
    	c.SNICerts = namedTLSCerts
    
    	return nil
    }
    
    func (s *SecureServingOptions) MaybeDefaultWithSelfSignedCerts(publicAddress string, alternateDNS []string, alternateIPs []net.IP) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top