Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for tlsOptions (0.18 sec)

  1. pilot/pkg/bootstrap/certcontroller.go

    func (s *Server) initFileCertificateWatches(tlsOptions TLSOptions) error {
    	if err := s.istiodCertBundleWatcher.SetFromFilesAndNotify(tlsOptions.KeyFile, tlsOptions.CertFile, tlsOptions.CaCertFile); err != nil {
    		return fmt.Errorf("set keyCertBundle failed: %v", err)
    	}
    	// TODO: Setup watcher for root and restart server if it changes.
    	for _, file := range []string{tlsOptions.CertFile, tlsOptions.KeyFile} {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/caclient/providers/citadel/client.go

    type CitadelClient struct {
    	// It means enable tls connection to Citadel if this is not nil.
    	tlsOpts  *TLSOptions
    	client   pb.IstioCertificateServiceClient
    	conn     *grpc.ClientConn
    	provider credentials.PerRPCCredentials
    	opts     *security.Options
    }
    
    type TLSOptions struct {
    	RootCert string
    	Key      string
    	Cert     string
    }
    
    // NewCitadelClient create a CA client for Citadel.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server_test.go

    	}
    
    	// Update cert/key files.
    	if err := os.WriteFile(tlsOptions.CertFile, testcerts.RotatedCert, 0o644); err != nil { // nolint: vetshadow
    		t.Fatalf("WriteFile(%v) failed: %v", tlsOptions.CertFile, err)
    	}
    	if err := os.WriteFile(tlsOptions.KeyFile, testcerts.RotatedKey, 0o644); err != nil { // nolint: vetshadow
    		t.Fatalf("WriteFile(%v) failed: %v", tlsOptions.KeyFile, err)
    	}
    
    	g := NewWithT(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/caclient/providers/citadel/client_test.go

    		addr := serve(t, server, tlsOptions(t))
    		opts := &security.Options{
    			CAEndpoint:  addr,
    			CredFetcher: plugin.CreateTokenPlugin("testdata/token"),
    			ProvCert:    certDir,
    		}
    		rootCert := path.Join(certDir, constants.RootCertFilename)
    		key := path.Join(certDir, constants.KeyFilename)
    		cert := path.Join(certDir, constants.CertChainFilename)
    		tlsOpts := &TLSOptions{
    			RootCert: rootCert,
    			Key:      key,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 21:03:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/options.go

    	// Optional TLS configuration
    	TLSOptions TLSOptions
    
    	// The listening address for secured gRPC. If the port in the address is empty or "0" (as in "127.0.0.1:" or "[::1]:0")
    	// a port number is automatically chosen.
    	SecureGRPCAddr string
    }
    
    type InjectionOptions struct {
    	// Directory of injection related config files.
    	InjectionDirectory string
    }
    
    // TLSOptions is optional TLS parameters for Istiod server.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server.go

    func hasCustomTLSCerts(tlsOptions TLSOptions) (ok bool, tlsCertPath, tlsKeyPath, caCertPath string) {
    	// load from tls args as priority
    	if hasCustomTLSCertArgs(tlsOptions) {
    		return true, tlsOptions.CertFile, tlsOptions.KeyFile, tlsOptions.CaCertFile
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-discovery/app/cmd.go

    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.CaCertFile, "caCertFile", "",
    		"File containing the x509 Server CA Certificate")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.CertFile, "tlsCertFile", "",
    		"File containing the x509 Server Certificate")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.KeyFile, "tlsKeyFile", "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. pilot/pkg/grpc/tls.go

    	sec_model "istio.io/istio/pkg/model"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    // TLSOptions include TLS options that a grpc client uses to connect with server.
    type TLSOptions struct {
    	RootCert      string
    	Key           string
    	Cert          string
    	ServerAddress string
    	SAN           string
    }
    
    func getTLSDialOption(opts *TLSOptions) (grpc.DialOption, error) {
    	rootCert, err := getRootCertificate(opts.RootCert)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/go/printer/testdata/alignment.golden

    	VolumePlugins:			ProbeVolumePlugins(),
    	NetworkPlugins:			ProbeNetworkPlugins(),
    	NetworkPluginName:		s.NetworkPluginName,
    	StreamingConnectionIdleTimeout:	s.StreamingConnectionIdleTimeout,
    	TLSOptions:			tlsOptions,
    	ImageGCPolicy:			imageGCPolicy, imageGCPolicy,
    	Cloud:				cloud,
    	NodeStatusUpdateFrequency:	s.NodeStatusUpdateFrequency,
    }
    
    var a = A{
    	Long:					1,
    	LongLong:				1,
    	LongLongLong:				1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  10. src/go/printer/testdata/alignment.input

        NetworkPlugins:                 ProbeNetworkPlugins(),
        NetworkPluginName:              s.NetworkPluginName,
        StreamingConnectionIdleTimeout: s.StreamingConnectionIdleTimeout,
        TLSOptions:                     tlsOptions,
        ImageGCPolicy:                  imageGCPolicy,imageGCPolicy,
        Cloud:                          cloud,
        NodeStatusUpdateFrequency: s.NodeStatusUpdateFrequency,
    }
    
    var a = A{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.9K bytes
    - Viewed (0)
Back to top