Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for tlsOptions (0.16 sec)

  1. pkg/istio-agent/plugins.go

    	// Using citadel CA
    	var tlsOpts *citadel.TLSOptions
    	var err error
    	// Special case: if Istiod runs on a secure network, on the default port, don't use TLS
    	// TODO: may add extra cases or explicit settings - but this is a rare use cases, mostly debugging
    	if strings.HasSuffix(opts.CAEndpoint, ":15010") {
    		log.Warn("Debug mode or IP-secure network")
    	} else {
    		tlsOpts = &citadel.TLSOptions{}
    		tlsOpts.RootCert, err = a.FindRootCAForCA()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 03:32:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-discovery/app/options.go

    	if err := validation.ValidateMaxServerConnectionAge(serverArgs.KeepaliveOptions.MaxServerConnectionAge); err != nil {
    		return err
    	}
    
    	_, err := bootstrap.TLSCipherSuites(serverArgs.ServerOptions.TLSOptions.TLSCipherSuites)
    
    	// TODO: add validation for other flags
    	return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/webhook.go

    		return
    	}
    
    	tlsConfig := &tls.Config{
    		GetCertificate: s.getIstiodCertificate,
    		MinVersion:     tls.VersionTLS12,
    		CipherSuites:   args.ServerOptions.TLSOptions.CipherSuits,
    	}
    	// Compliance for control plane validation and injection webhook server.
    	sec_model.EnforceGoCompliance(tlsConfig)
    
    	istiolog.Info("initializing secure webhook server for istiod webhooks")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server.go

    		WriteTimeout:   4 * 60 * time.Minute,
    		MaxHeaderBytes: 1 << 20,
    	}
    
    	if tlsOptions != nil {
    		s.TLSConfig = tlsOptions.Config
    		// Passing empty strings as the cert and key files means no
    		// cert/keys are specified and GetCertificate in the TLSConfig
    		// should be called instead.
    		if err := s.ListenAndServeTLS(tlsOptions.CertFile, tlsOptions.KeyFile); err != nil {
    			klog.ErrorS(err, "Failed to listen and serve")
    			os.Exit(1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  5. cmd/kubelet/app/server.go

    		}
    		// Specify allowed CAs for client certificates
    		tlsOptions.Config.ClientCAs = clientCAs
    		// Populate PeerCertificates in requests, but don't reject connections without verified certificates
    		tlsOptions.Config.ClientAuth = tls.RequestClientCert
    	}
    
    	return tlsOptions, nil
    }
    
    // setContentTypeForClient sets the appropriate content type into the rest config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. pilot/pkg/grpc/grpc.go

    	defaultInitialWindowSize           = 1024 * 1024 // default gRPC ConnWindowSize
    )
    
    // ClientOptions returns consistent grpc dial options with custom dial options
    func ClientOptions(options *istiokeepalive.Options, tlsOpts *TLSOptions) ([]grpc.DialOption, error) {
    	if options == nil {
    		options = istiokeepalive.DefaultOption()
    	}
    	keepaliveOption := grpc.WithKeepaliveParams(keepalive.ClientParameters{
    		Time:    options.Time,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 04:27:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. pkg/kubemark/hollow_kubelet.go

    		Cloud:                     nil,
    		OSInterface:               &containertest.FakeOS{},
    		ContainerManager:          containerManager,
    		VolumePlugins:             volumePlugins(),
    		TLSOptions:                nil,
    		OOMAdjuster:               oom.NewFakeOOMAdjuster(),
    		Mounter:                   &mount.FakeMounter{},
    		Subpather:                 &subpath.FakeSubpath{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    			}
    
    		} else if kubeDeps.TLSOptions.CertFile != "" && kubeDeps.TLSOptions.KeyFile != "" && utilfeature.DefaultFeatureGate.Enabled(features.ReloadKubeletServerCertificateFile) {
    			klet.serverCertificateManager, err = kubeletcertificate.NewKubeletServerCertificateDynamicFileManager(kubeDeps.TLSOptions.CertFile, kubeDeps.TLSOptions.KeyFile)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. pkg/istio-agent/agent_test.go

    	meta.Namespace = "fake-namespace"
    	meta.ServiceAccount = "fake-sa"
    	meta.ProxyConfig = pc
    	return meta
    }
    
    func setupCa(t *testing.T, auth *security.FakeAuthenticator) *mock.CAServer {
    	t.Helper()
    	opt := tlsOptions(t)
    	s, err := mock.NewCAServerWithKeyCert(0,
    		testutil.ReadFile(t, filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot/ca-key.pem")),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. pkg/istio-agent/xds_proxy.go

    func (p *XdsProxy) getTLSOptions(agent *Agent) (*istiogrpc.TLSOptions, error) {
    	if agent.proxyConfig.ControlPlaneAuthPolicy == meshconfig.AuthenticationPolicy_NONE {
    		return nil, nil
    	}
    	xdsCACertPath, err := agent.FindRootCAForXDS()
    	if err != nil {
    		return nil, fmt.Errorf("failed to find root CA cert for XDS: %v", err)
    	}
    	key, cert := agent.GetKeyCertsForXDS()
    	return &istiogrpc.TLSOptions{
    		RootCert:      xdsCACertPath,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top