Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for InsecureSkipVerify (0.9 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    type: string clientCertificate: description: REQUIRED if mode is `MUTUAL`. type: string credentialName: description: The name of the secret that holds the TLS certs for the client including the CA certificates. type: string insecureSkipVerify: description: '`insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host.' nullable: true type: boolean mode: description: Indicates whether connections to this port should...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/common/routing.go

    metadata:
      name: "{{.VirtualServiceHost|replace "*" "wild"}}"
      namespace: "{{.IngressNamespace}}"
    spec:
      host: "{{.VirtualServiceHost}}"
      trafficPolicy:
        tls:
          mode: SIMPLE
          insecureSkipVerify: true
    ---
    `
    
    const httpVirtualServiceTmpl = `
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: "{{.VirtualServiceHost|replace "*" "wild"}}"
    spec:
      gateways:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/test-utils_test.go

    //  https://golang.org/src/crypto/tls/generate_cert.go
    //    $ go run generate_cert.go -ca --host 127.0.0.1
    // The generated certificate contains IP SAN, that way we don't need
    // to enable InsecureSkipVerify in TLS config
    
    // Starts the test server and returns the TestServer with TLS configured instance.
    func StartTestTLSServer(t TestErrHandler, instanceType string, cert, key []byte) TestServer {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top