Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for InsecureSkipVerify (0.72 sec)

  1. src/crypto/tls/handshake_test.go

    		os.Exit(1)
    	}
    
    	testConfig = &Config{
    		Time:               func() time.Time { return time.Unix(0, 0) },
    		Rand:               zeroSource{},
    		Certificates:       make([]Certificate, 2),
    		InsecureSkipVerify: true,
    		CipherSuites:       allCipherSuites(),
    		CurvePreferences:   []CurveID{X25519, CurveP256, CurveP384, CurveP521},
    		MinVersion:         VersionTLS10,
    		MaxVersion:         VersionTLS13,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/crypto/tls/boring_test.go

    	testServerCert := func(t *testing.T, desc string, pool *x509.CertPool, key interface{}, list [][]byte, ok bool) {
    		clientConfig := testConfig.Clone()
    		clientConfig.RootCAs = pool
    		clientConfig.InsecureSkipVerify = false
    		clientConfig.ServerName = "example.com"
    
    		serverConfig := testConfig.Clone()
    		serverConfig.Certificates = []Certificate{{Certificate: list, PrivateKey: key}}
    		serverConfig.BuildNameToCertificate()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. tests/integration/telemetry/api/stats_test.go

    							TLS: echo.TLS{
    								CertFile:           "/etc/certs/custom/cert-chain.pem",
    								KeyFile:            "/etc/certs/custom/key.pem",
    								CaCertFile:         "/etc/certs/custom/root-cert.pem",
    								InsecureSkipVerify: true,
    							},
    						})
    					}
    				})
    		})
    }
    
    // TestStatsTCPFilter includes common test logic for stats and metadataexchange filters running
    // with nullvm and wasm runtime for TCP.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/crypto/tls/quic_test.go

    	}
    }
    
    func TestQUICHandshakeError(t *testing.T) {
    	clientConfig := testConfig.Clone()
    	clientConfig.MinVersion = VersionTLS13
    	clientConfig.InsecureSkipVerify = false
    	clientConfig.ServerName = "name"
    
    	serverConfig := testConfig.Clone()
    	serverConfig.MinVersion = VersionTLS13
    
    	cli := newTestQUICClient(t, clientConfig)
    	cli.conn.SetTransportParameters(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. pilot/pkg/model/jwks_resolver.go

    			Transport: &http.Transport{
    				Proxy:             http.ProxyFromEnvironment,
    				DisableKeepAlives: true,
    				TLSClientConfig: &tls.Config{
    					// nolint: gosec // user explicitly opted into insecure
    					InsecureSkipVerify: features.JwksResolverInsecureSkipVerify,
    					RootCAs:            caCertPool,
    					MinVersion:         tls.VersionTLS12,
    				},
    			},
    		}
    	}
    
    	atomic.StoreUint64(&ret.refreshJobKeyChangedCount, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server_test.go

    	defer func() {
    		close(stop)
    		s.WaitUntilCompletion()
    	}()
    
    	c := http.Client{}
    	c.Transport = &http.Transport{
    		// nolint: gosec
    		TLSClientConfig: &tls.Config{
    			InsecureSkipVerify: true,
    		},
    	}
    	defer c.CloseIdleConnections()
    
    	for _, url := range []string{"http://" + s.httpAddr, "https://" + s.httpsAddr} {
    		resp, err := c.Get(url + "/ready")
    		g.Expect(err).ToNot(HaveOccurred())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. pkg/wasm/cache_test.go

    	ref := fmt.Sprintf("%s/test/valid/docker:v0.1.0", host)
    	binary := append(wasmHeader, []byte("this is wasm plugin")...)
    	transport := remote.DefaultTransport.(*http.Transport).Clone()
    	transport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true} // nolint: gosec // test only code
    	fetchOpt := crane.WithTransport(transport)
    
    	// Create docker layer.
    	l, err := newMockLayer(types.DockerLayer,
    		map[string][]byte{"plugin.wasm": binary})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/status/server.go

    			// nolint: gosec
    			// This is matching Kubernetes. It is a reasonable usage of this, as it is just a health check over localhost.
    			transport, err := setTransportDefaults(&http.Transport{
    				TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
    				DialContext:     d.DialContext,
    				// https://github.com/kubernetes/kubernetes/blob/0153febd9f0098d4b8d0d484927710eaf899ef40/pkg/probe/http/http.go#L55
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  9. src/net/smtp/smtp_test.go

    			return
    		}
    		defer conn.Close()
    
    		_, err = conn.Write([]byte("220 SIGNS\r\n"))
    		if err != nil {
    			t.Errorf("server: write: %v", err)
    			return
    		}
    	}()
    
    	config.InsecureSkipVerify = true
    	conn, err := tls.Dial("tcp", ln.Addr().String(), &config)
    	if err != nil {
    		t.Fatalf("client: dial: %v", err)
    	}
    	defer conn.Close()
    
    	client, err := NewClient(conn, ln.Addr().String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, errors.New("More than one client certificate provided"))
    		return
    	}
    
    	certificate := r.TLS.PeerCertificates[0]
    	if !globalIAMSys.STSTLSConfig.InsecureSkipVerify { // Verify whether the client certificate has been issued by a trusted CA.
    		_, err := certificate.Verify(x509.VerifyOptions{
    			KeyUsages: []x509.ExtKeyUsage{
    				x509.ExtKeyUsageClientAuth,
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top