Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for InsecureSkipVerify (0.36 sec)

  1. src/net/http/transport_internal_test.go

    					}
    					roundTripped = true
    					return nil, http2noCachedConnError{}
    				})
    			},
    		},
    		DialTLS: func(_, _ string) (net.Conn, error) {
    			tc, err := tls.Dial("tcp", addr, &tls.Config{
    				InsecureSkipVerify: true,
    				NextProtos:         []string{"foo"},
    			})
    			if err != nil {
    				return nil, err
    			}
    			if err := tc.Handshake(); err != nil {
    				return nil, err
    			}
    			return tc, nil
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. docs/debugging/s3-check-md5/main.go

    	secure := strings.EqualFold(u.Scheme, "https")
    	transport, err := minio.DefaultTransport(secure)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	if insecure {
    		// skip TLS verification
    		transport.TLSClientConfig.InsecureSkipVerify = true
    	}
    
    	s3Client, err := minio.New(u.Host, &minio.Options{
    		Creds:     credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure:    secure,
    		Transport: transport,
    	})
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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)
  4. pkg/test/fakes/imageregistry/main.go

    	if err != nil {
    		return "", fmt.Errorf("could not parse url in image reference: %v", err)
    	}
    
    	t := remote.DefaultTransport.(*http.Transport).Clone()
    	t.TLSClientConfig = &tls.Config{InsecureSkipVerify: true} // nolint: gosec // test only code
    	desc, err := remote.Get(ref, remote.WithTransport(t))
    	if err != nil {
    		return "", fmt.Errorf("could not get the description: %v", err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. pkg/istio-agent/health/health_probers.go

    		// This is matching Kubernetes. It is a reasonable usage of this, as it is just a health check over localhost.
    		h.Transport = &http.Transport{
    			DisableKeepAlives: true,
    			TLSClientConfig:   &tls.Config{InsecureSkipVerify: true},
    		}
    	} else {
    		h.Transport = &http.Transport{
    			DisableKeepAlives: true,
    		}
    	}
    	d := status.ProbeDialer()
    	d.LocalAddr = status.UpstreamLocalAddressIPv4
    	if ipv6 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pilot/pkg/security/model/authentication.go

    		tlsContext.TlsCertificateSdsSecretConfigs = []*tls.SdsSecretConfig{
    			ConstructSdsSecretConfigForCredential(tlsOpts.CredentialName, credentialSocketExist),
    		}
    	}
    
    	// If the InsecureSkipVerify is true, there is no need to configure CA Cert and SAN.
    	if tlsOpts.GetInsecureSkipVerify().GetValue() {
    		return
    	}
    
    	// create SDS config for gateway to fetch certificate validation context
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. internal/event/target/nsq.go

    }
    
    func (target *NSQTarget) initNSQ() error {
    	args := target.args
    
    	config := nsq.NewConfig()
    	if args.TLS.Enable {
    		config.TlsV1 = true
    		config.TlsConfig = &tls.Config{
    			InsecureSkipVerify: args.TLS.SkipVerify,
    		}
    	}
    	target.config = config
    
    	producer, err := nsq.NewProducer(args.NSQDAddress.String(), config)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top