Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for InsecureSkipVerify (0.68 sec)

  1. tests/integration/pilot/testdata/tunneling/gateway/tls/passthrough/originate-tls.tmpl.yaml

      subsets:
      - name: originate-tls-for-plain-traffic
        trafficPolicy:
          tls:
            mode: SIMPLE
            sni: external.{{ .externalNamespace }}.svc.cluster.local
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 20 19:37:50 UTC 2024
    - 472 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. src/crypto/tls/example_test.go

    	// verify the peer's certificate.
    
    	// Client side configuration.
    	_ = &tls.Config{
    		// Set InsecureSkipVerify to skip the default validation we are
    		// replacing. This will not disable VerifyConnection.
    		InsecureSkipVerify: true,
    		VerifyConnection: func(cs tls.ConnectionState) error {
    			opts := x509.VerifyOptions{
    				DNSName:       cs.ServerName,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tests/integration/pilot/testdata/tunneling/destination-rule.tmpl.yaml

      trafficPolicy:
        portLevelSettings:
        - port:
            number: {{ .forwardProxyPort }}
          tls:
            mode: SIMPLE
            sni: external-forward-proxy.{{ .externalNamespace }}.svc.cluster.local
            insecureSkipVerify: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 20 19:37:50 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. pkg/test/echo/proto/echo.proto

      string certFile = 16;
      string keyFile = 17;
      // If non-empty, verify the server CA with the ca cert file.
      string caCertFile = 18;
      // Skip verifying peer's certificate.
      bool insecureSkipVerify = 19;
      // List of ALPNs to present. If not set, this will be automatically be set based on the protocol
      Alpn alpn = 13;
      // Server name (SNI) to present in TLS connections. If not set, Host will be used for http requests.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 31 17:42:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client_test.go

    					}
    					return checkFields(c, called, "client")
    				}
    			},
    		},
    		{
    			name: "InsecureSkipVerify",
    			configureServer: func(config *Config, called *int) {
    				config.ClientAuth = RequireAnyClientCert
    				config.InsecureSkipVerify = true
    				config.VerifyConnection = func(c ConnectionState) error {
    					*called++
    					if l := len(c.PeerCertificates); l != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. pkg/kube/spdy.go

    	}
    	if tlsConfig == nil && restConfig.Transport != nil {
    		// If using a custom transport, skip server verification on the upgrade.
    		// nolint: gosec
    		tlsConfig = &tls.Config{
    			InsecureSkipVerify: true,
    		}
    	}
    
    	var upgrader *spdyStream.SpdyRoundTripper
    	if restConfig.Proxy != nil {
    		upgrader, err = spdyStream.NewRoundTripperWithProxy(tlsConfig, restConfig.Proxy)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder_test.go

    		enableAutoSni            bool
    		enableVerifyCertAtClient bool
    		expectTLSContext         *tls.UpstreamTlsContext
    	}{
    		{
    			name:        "With tls mode simple, InsecureSkipVerify is not specified and ca cert is supplied",
    			cluster:     &cluster.Cluster{Name: "foo", ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_EDS}},
    			clusterMode: DefaultClusterMode,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  9. 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)
  10. pkg/config/validation/validation_test.go

    					CaCertificates:  "test",
    					SubjectAltNames: []string{"reviews.default.svc"},
    					InsecureSkipVerify: &wrapperspb.BoolValue{
    						Value: false,
    					},
    				},
    			},
    		}, valid: true},
    
    		{name: "InsecureSkipVerify is set false with tls mode simple, and the ca cert is specified by CredentialName", in: &networking.DestinationRule{
    			Host: "reviews",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top