Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for tlsPorts (0.29 sec)

  1. pkg/test/echo/cmd/server/main.go

    	"istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/echo/server"
    )
    
    var (
    	httpPorts        []int
    	grpcPorts        []int
    	tcpPorts         []int
    	udpPorts         []int
    	tlsPorts         []int
    	hbonePorts       []int
    	instanceIPPorts  []int
    	localhostIPPorts []int
    	serverFirstPorts []int
    	xdsGRPCServers   []int
    	metricsPort      int
    	uds              string
    	version          string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. pkg/istio-agent/plugins.go

    		}
    
    		if tlsOpts.RootCert == "" {
    			log.Infof("Using CA %s cert with system certs", opts.CAEndpoint)
    		} else if !fileExists(tlsOpts.RootCert) {
    			log.Fatalf("invalid config - %s missing a root certificate %s", opts.CAEndpoint, tlsOpts.RootCert)
    		} else {
    			log.Infof("Using CA %s cert with certs: %s", opts.CAEndpoint, tlsOpts.RootCert)
    		}
    
    		tlsOpts.Key, tlsOpts.Cert = a.GetKeyCertsForCA()
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 03:32:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/caclient/providers/citadel/client.go

    	if c.tlsOpts != nil {
    		return &istiogrpc.TLSOptions{
    			RootCert:      c.tlsOpts.RootCert,
    			Key:           c.tlsOpts.Key,
    			Cert:          c.tlsOpts.Cert,
    			ServerAddress: c.opts.CAEndpoint,
    			SAN:           c.opts.CAEndpointSAN,
    		}
    	}
    	return nil
    }
    
    func (c *CitadelClient) buildConnection() (*grpc.ClientConn, error) {
    	tlsOpts := c.getTLSOptions()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. pilot/pkg/security/model/authentication.go

    func ApplyCustomSDSToClientCommonTLSContext(tlsContext *tls.CommonTlsContext,
    	tlsOpts *networking.ClientTLSSettings, credentialSocketExist bool,
    ) {
    	if tlsOpts.Mode == networking.ClientTLSSettings_MUTUAL {
    		// create SDS config for gateway to fetch key/cert from agent.
    		tlsContext.TlsCertificateSdsSecretConfigs = []*tls.SdsSecretConfig{
    			ConstructSdsSecretConfigForCredential(tlsOpts.CredentialName, credentialSocketExist),
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. pilot/pkg/grpc/grpc.go

    	msgSizeOption := grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(defaultClientMaxReceiveMessageSize))
    	var tlsDialOpts grpc.DialOption
    	var err error
    	if tlsOpts != nil {
    		tlsDialOpts, err = getTLSDialOption(tlsOpts)
    		if err != nil {
    			return nil, err
    		}
    	} else {
    		tlsDialOpts = grpc.WithTransportCredentials(insecure.NewCredentials())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 04:27:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. security/pkg/nodeagent/caclient/providers/citadel/client_test.go

    		key := path.Join(certDir, constants.KeyFilename)
    		cert := path.Join(certDir, constants.CertChainFilename)
    		tlsOpts := &TLSOptions{
    			RootCert: rootCert,
    			Key:      key,
    			Cert:     cert,
    		}
    		cli, err := NewCitadelClient(opts, tlsOpts)
    		if err != nil {
    			t.Errorf("failed to create ca client: %v", err)
    		}
    		t.Cleanup(cli.Close)
    		server.Authenticator.Set("fake", "")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 21:03:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. cmd/common-main.go

    	if globalIsTLS {
    		// If TLS certificates are provided enforce the HTTPS.
    		server.EnabledListeners = []string{"https"}
    		server.TLSPort = consolePort
    		// Need to store tls-port, tls-host un config variables so secure.middleware can read from there
    		consoleapi.TLSPort = globalMinioConsolePort
    		consoleapi.Hostname = globalMinioConsoleHost
    	}
    
    	return server, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. pkg/istio-agent/xds_proxy.go

    	return nil
    }
    
    func (p *XdsProxy) buildUpstreamClientDialOpts(sa *Agent) ([]grpc.DialOption, error) {
    	tlsOpts, err := p.getTLSOptions(sa)
    	if err != nil {
    		return nil, fmt.Errorf("failed to get TLS options to talk to upstream: %v", err)
    	}
    	options, err := istiogrpc.ClientOptions(nil, tlsOpts)
    	if err != nil {
    		return nil, err
    	}
    	if sa.secOpts.CredFetcher != nil {
    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