Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for InsecureSkipVerify (0.4 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    			tlsConfig:         &tls.Config{InsecureSkipVerify: true},
    			expectedTLSConfig: &tls.Config{InsecureSkipVerify: true},
    			upgradeTransport:  nil,
    		},
    		"Basic TLSConfig and Proxier: no error": {
    			tlsConfig:         &tls.Config{InsecureSkipVerify: true},
    			proxier:           func(req *http.Request) (*url.URL, error) { return nil, nil },
    			expectedTLSConfig: &tls.Config{InsecureSkipVerify: true},
    			upgradeTransport:  nil,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  2. pkg/test/echo/server/forwarder/config.go

    		certData, err := os.ReadFile(r.CaCertFile)
    		if err != nil {
    			return nil, fmt.Errorf("failed to load client certificate: %v", err)
    		}
    		r.CaCert = string(certData)
    	}
    	if r.InsecureSkipVerify || r.CaCert == "" {
    		tlsConfig.InsecureSkipVerify = true
    	} else if r.CaCert != "" {
    		certPool := x509.NewCertPool()
    		if !certPool.AppendCertsFromPEM([]byte(r.CaCert)) {
    			return nil, fmt.Errorf("failed to create cert pool")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. pkg/test/echo/proto/echo.pb.go

    	CaCertFile string `protobuf:"bytes,18,opt,name=caCertFile,proto3" json:"caCertFile,omitempty"`
    	// Skip verifying peer's certificate.
    	InsecureSkipVerify bool `protobuf:"varint,19,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
    	// List of ALPNs to present. If not set, this will be automatically be set based on the protocol
    	Alpn *Alpn `protobuf:"bytes,13,opt,name=alpn,proto3" json:"alpn,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/storage/storage_factory.go

    	servers := sets.NewString(storageConfig.Transport.ServerList...)
    
    	for _, overrides := range grOverrides {
    		servers.Insert(overrides.etcdLocation...)
    	}
    
    	tlsConfig := &tls.Config{
    		InsecureSkipVerify: true,
    	}
    	if len(storageConfig.Transport.CertFile) > 0 && len(storageConfig.Transport.KeyFile) > 0 {
    		cert, err := tls.LoadX509KeyPair(storageConfig.Transport.CertFile, storageConfig.Transport.KeyFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 13:35:58 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client.go

    func (c *Conn) makeClientHello() (*clientHelloMsg, *keySharePrivateKeys, *echContext, error) {
    	config := c.config
    	if len(config.ServerName) == 0 && !config.InsecureSkipVerify {
    		return nil, nil, nil, errors.New("tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config")
    	}
    
    	nextProtosLength := 0
    	for _, proto := range config.NextProtos {
    		if l := len(proto); l == 0 || l > 255 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/calloptions.go

    	Cert, Key, CaCert string
    
    	// Use the custom certificates file to make the call.
    	CertFile, KeyFile, CaCertFile string
    
    	// Skip verify peer's certificate.
    	InsecureSkipVerify bool
    
    	Alpn       []string
    	ServerName string
    }
    
    type HBONE struct {
    	Address string
    	Headers http.Header
    	// If non-empty, make the request with the corresponding cert and key.
    	Cert string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls.go

    			res := security.SdsCertificateConfig{
    				CaCertificatePath: tls.CaCertificates,
    			}
    			// If tls.CaCertificate or CaCertificate in Metadata isn't configured, or tls.InsecureSkipVerify is true,
    			// don't set up SdsSecretConfig
    			if !res.IsRootCertificate() || tls.GetInsecureSkipVerify().GetValue() {
    				tlsContext.CommonTlsContext.ValidationContextType = &tlsv3.CommonTlsContext_ValidationContext{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. pkg/registry/core/rest/storage_core.go

    		"controller-manager": &componentstatus.HttpServer{EnableHTTPS: true, TLSConfig: &tls.Config{InsecureSkipVerify: true}, Addr: "127.0.0.1", Port: ports.KubeControllerManagerPort, Path: "/healthz"},
    		"scheduler":          &componentstatus.HttpServer{EnableHTTPS: true, TLSConfig: &tls.Config{InsecureSkipVerify: true}, Addr: "127.0.0.1", Port: kubeschedulerconfig.DefaultKubeSchedulerPort, Path: "/healthz"},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  9. pkg/adsc/adsc.go

    	XDSRootCAFile string
    
    	// RootCert contains the XDS root certificate. Used mainly for tests, apps will normally use
    	// XDSRootCAFile
    	RootCert []byte
    
    	// InsecureSkipVerify skips client verification the server's certificate chain and host name.
    	InsecureSkipVerify bool
    
    	// BackoffPolicy determines the reconnect policy. Based on MCP client.
    	BackoffPolicy backoff.BackOff
    
    	GrpcOpts []grpc.DialOption
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    		}
    		if tls.Mode == networking.ClientTLSSettings_DISABLE || tls.Mode == networking.ClientTLSSettings_ISTIO_MUTUAL {
    			return false
    		}
    		return tls.CaCertificates == "" && tls.CredentialName == "" && !tls.InsecureSkipVerify.GetValue()
    	}
    	checkSNI := func(tls *networking.ClientTLSSettings) bool {
    		if tls == nil {
    			return false
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top