Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 124 for ServerName (0.18 sec)

  1. src/net/http/httptest/httptest.go

    	if req.Host == "" {
    		req.Host = "example.com"
    	}
    
    	if strings.HasPrefix(target, "https://") {
    		req.TLS = &tls.ConnectionState{
    			Version:           tls.VersionTLS12,
    			HandshakeComplete: true,
    			ServerName:        req.Host,
    		}
    	}
    
    	return req
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:09:14 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    	if err != nil {
    		return nil, err
    	}
    
    	tlsConfig := s.tlsConfig
    	switch {
    	case tlsConfig == nil:
    		tlsConfig = &tls.Config{ServerName: host}
    	case len(tlsConfig.ServerName) == 0:
    		tlsConfig = tlsConfig.Clone()
    		tlsConfig.ServerName = host
    	}
    
    	tlsConn := tls.Client(rwc, tlsConfig)
    
    	if err := tlsConn.HandshakeContext(ctx); err != nil {
    		tlsConn.Close()
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_tls13.go

    			hs.hello = hs.echContext.innerHello
    			c.serverName = c.config.ServerName
    			hs.transcript = hs.echContext.innerTranscript
    			c.echAccepted = true
    
    			if hs.serverHello.encryptedClientHello != nil {
    				c.sendAlert(alertUnsupportedExtension)
    				return errors.New("tls: unexpected encrypted_client_hello extension in server hello despite ECH being accepted")
    			}
    
    			if hs.hello.serverName == "" && hs.serverHello.serverNameAck {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_server.go

    	hs.hello.secureRenegotiationSupported = hs.clientHello.secureRenegotiationSupported
    	hs.hello.compressionMethod = compressionNone
    	if len(hs.clientHello.serverName) > 0 {
    		c.serverName = hs.clientHello.serverName
    	}
    
    	selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, false)
    	if err != nil {
    		c.sendAlert(alertNoApplicationProtocol)
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. pkg/test/echo/server/forwarder/tls.go

    	echo.TLSVersionField.WriteForRequest(&msgBuilder, requestID, versionName(cs.Version))
    	echo.TLSServerName.WriteForRequest(&msgBuilder, requestID, cs.ServerName)
    	echo.AlpnField.WriteForRequest(&msgBuilder, requestID, cs.NegotiatedProtocol)
    	for n, i := range cs.PeerCertificates {
    		pemBlock := pem.Block{
    			Type:  "CERTIFICATE",
    			Bytes: i.Raw,
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 11 16:27:16 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. src/net/http/client_test.go

    	const serverName = "example.com"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		if r.TLS.ServerName != serverName {
    			t.Errorf("expected client to set ServerName %q, got: %q", serverName, r.TLS.ServerName)
    		}
    	})).ts
    
    	c := ts.Client()
    	c.Transport.(*Transport).TLSClientConfig.ServerName = serverName
    	if _, err := c.Get(ts.URL); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/peer.go

    	clientConfig := &transport.Config{
    		TLS: transport.TLSConfig{
    			Insecure:   false,
    			CertFile:   proxyClientCertFile,
    			KeyFile:    proxyClientKeyFile,
    			CAFile:     peerCAFile,
    			ServerName: "kubernetes.default.svc",
    		}}
    
    	// build proxy transport
    	proxyRoundTripper, transportBuildingError := transport.New(clientConfig)
    	if transportBuildingError != nil {
    		klog.Error(transportBuildingError.Error())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 08:15:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/httproute.go

    	}
    	if ph.Server != nil {
    		if ph.Server.Disabled.GetValue() {
    			base.ServerName = ""
    			base.ServerHeaderTransformation = hcm.HttpConnectionManager_PASS_THROUGH
    		} else if ph.Server.Value != "" {
    			base.ServerName = ph.Server.Value
    		}
    	}
    	if ph.RequestId.GetDisabled().GetValue() {
    		base.GenerateRequestID = proto.BoolFalse
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_waypoint.go

    		SetCurrentClientCertDetails: &hcm.HttpConnectionManager_SetCurrentClientCertDetails{
    			Subject: proto.BoolTrue,
    			Uri:     true,
    			Dns:     true,
    		},
    		ServerName:                 ph.ServerName,
    		ServerHeaderTransformation: ph.ServerHeaderTransformation,
    		GenerateRequestId:          ph.GenerateRequestID,
    		UseRemoteAddress:           proto.BoolFalse,
    	}
    
    	// Protocol settings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/types.go

    	// Server should be accessed without verifying the TLS certificate. For testing only.
    	Insecure bool
    	// ServerName is passed to the server for SNI and is used in the client to check server
    	// certificates against. If ServerName is empty, the hostname used to contact the
    	// server is used.
    	ServerName string
    
    	// Server requires TLS client certificate authentication
    	CertFile string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top