Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 488 for clientCert (0.33 sec)

  1. internal/logger/help.go

    			Description: `opaque string or JWT authorization token`,
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    			Description: "mTLS certificate for webhook authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         ClientKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 07 20:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. internal/event/target/nats_tls_contrib_test.go

    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    		ClientCert:    path.Join("testdata", "contrib", "certs", "nats_client_cert.pem"),
    		ClientKey:     path.Join("testdata", "contrib", "certs", "nats_client_key.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tests/integration/security/file_mounted_certs/main_test.go

    }
    
    func CreateCustomSecret(ctx resource.Context, name string, namespace namespace.Instance, certsPath string) error {
    	var privateKey, clientCert, caCert []byte
    	var err error
    	if privateKey, err = ReadCustomCertFromFile(certsPath, "key.pem"); err != nil {
    		return err
    	}
    	if clientCert, err = ReadCustomCertFromFile(certsPath, "cert-chain.pem"); err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. tests/integration/security/filebased_tls_origination/main_test.go

    				TLS:          true,
    			},
    		},
    		// Set up TLS certs on the server. This will make the server listen with these credentials.
    		TLSSettings: &common.TLSSettings{
    			RootCert:   mustReadCert("root-cert.pem"),
    			ClientCert: mustReadCert("cert-chain.pem"),
    			Key:        mustReadCert("key.pem"),
    			// Override hostname to match the SAN in the cert we are using
    			Hostname: "server.default.svc",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/common/deployment/external.go

    		TLSSettings: &common.TLSSettings{
    			// Echo has these test certs baked into the docker image
    			RootCert:   file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/root-cert.pem")),
    			ClientCert: file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/cert-chain.pem")),
    			Key:        file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/options/authentication.go

    			"Enable to allow secrets of type 'bootstrap.kubernetes.io/token' in the 'kube-system' "+
    			"namespace to be used for TLS bootstrapping authentication.")
    	}
    
    	if o.ClientCert != nil {
    		o.ClientCert.AddFlags(fs)
    	}
    
    	if o.OIDC != nil {
    		fs.StringVar(&o.OIDC.IssuerURL, oidcIssuerURLFlag, o.OIDC.IssuerURL, ""+
    			"The URL of the OpenID issuer, only HTTPS scheme will be accepted. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls_test.go

    	tlsContext *tls.UpstreamTlsContext
    	err        error
    }
    
    // TestBuildUpstreamClusterTLSContext tests the buildUpstreamClusterTLSContext function
    func TestBuildUpstreamClusterTLSContext(t *testing.T) {
    	clientCert := "/path/to/cert"
    	rootCert := "path/to/cacert"
    	clientKey := "/path/to/key"
    
    	credentialName := "some-fake-credential"
    
    	testCases := []struct {
    		name                     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_client_test.go

    			clientErr := Client(c, cConfig).Handshake()
    			c.Close()
    
    			if tc.expectedErr == "" && clientErr != nil {
    				t.Fatalf("unexpected err: %s", clientErr)
    			} else if clientErr != nil && tc.expectedErr != clientErr.Error() {
    				t.Fatalf("unexpected err: got %q, want %q", clientErr, tc.expectedErr)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  9. pkg/test/echo/client.go

    	ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
    	defer cancel()
    	dialOptions := []grpc.DialOption{grpc.WithBlock()}
    	if tlsSettings != nil {
    		cert, err := tls.X509KeyPair([]byte(tlsSettings.ClientCert), []byte(tlsSettings.Key))
    		if err != nil {
    			return nil, err
    		}
    
    		var certPool *x509.CertPool
    		certPool, err = x509.SystemCertPool()
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/templates/deployment.yaml

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: {{ $.Service }}-certs
    data:
      root-cert.pem: |
    {{ .TLSSettings.RootCert | indent 4 }}
      cert-chain.pem: |
    {{ .TLSSettings.ClientCert | indent 4 }}
      key.pem: |
    {{.TLSSettings.Key | indent 4}}
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top