Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SNICerts (0.14 sec)

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

    	clientCA CAContentProvider,
    	servingCert CertKeyContentProvider,
    	sniCerts []SNICertKeyContentProvider,
    	eventRecorder events.EventRecorder,
    ) *DynamicServingCertificateController {
    	c := &DynamicServingCertificateController{
    		baseTLSConfig: baseTLSConfig,
    		clientCA:      clientCA,
    		servingCert:   servingCert,
    		sniCerts:      sniCerts,
    
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    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/secure_serving.go

    		tlsConfig.ClientAuth = tls.RequestClientCert
    	}
    
    	if s.ClientCA != nil || s.Cert != nil || len(s.SNICerts) > 0 {
    		dynamicCertificateController := dynamiccertificates.NewDynamicServingCertificateController(
    			tlsConfig,
    			s.ClientCA,
    			s.Cert,
    			s.SNICerts,
    			nil, // TODO see how to plumb an event recorder down in here. For now this results in simply klog messages.
    		)
    
    		if s.ClientCA != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. 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)
  5. 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 (1)
Back to top