Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for clientCertificate (5.39 sec)

  1. cmd/kubeadm/app/util/kubeconfig/kubeconfig_test.go

    				CurrentContext: "kubernetes",
    				Contexts:       map[string]*clientcmdapi.Context{"kubernetes": {AuthInfo: "kubernetes"}},
    				AuthInfos:      map[string]*clientcmdapi.AuthInfo{"kubernetes": {ClientKey: "A", ClientCertificate: "B"}},
    			},
    			expected: true,
    		},
    		{
    			name: "exec authentication credentials",
    			config: &clientcmdapi.Config{
    				CurrentContext: "kubernetes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 06:49:59 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    		Sni:             "custom.foo.com",
    	}
    	mutualTLSSettingsWithCerts := &networking.ClientTLSSettings{
    		Mode:              networking.ClientTLSSettings_MUTUAL,
    		CaCertificates:    "root-cert.pem",
    		ClientCertificate: "cert-chain.pem",
    		PrivateKey:        "key.pem",
    		SubjectAltNames:   []string{"custom.foo.com"},
    		Sni:               "custom.foo.com",
    	}
    	simpleTLSSettingsWithCerts := &networking.ClientTLSSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_tls_test.go

    		Sni:             "custom.foo.com",
    	}
    	mutualTLSSettingsWithCerts := &networking.ClientTLSSettings{
    		Mode:              networking.ClientTLSSettings_MUTUAL,
    		CaCertificates:    "root-cert.pem",
    		ClientCertificate: "cert-chain.pem",
    		PrivateKey:        "key.pem",
    		SubjectAltNames:   []string{"custom.foo.com"},
    		Sni:               "custom.foo.com",
    	}
    	simpleTLSSettingsWithCerts := &networking.ClientTLSSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  4. okhttp-tls/README.md

    // Create a client certificate and a client that uses it.
    HeldCertificate clientCertificate = new HeldCertificate.Builder()
        .commonName("ianmalcolm")
        .signedBy(rootCertificate)
        .build();
    HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder()
        .addTrustedCertificate(rootCertificate.certificate())
        .heldCertificate(clientCertificate)
        .build();
    OkHttpClient client = new OkHttpClient.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  6. tests/integration/security/filebased_tls_origination/destination_rule_tls_test.go

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-mtls
    spec:
      exportTo: ["."]
      host: server
      trafficPolicy:
        tls:
          mode: MUTUAL
          clientCertificate: /etc/certs/custom/cert-chain.pem
          privateKey: /etc/certs/custom/key.pem
          caCertificates: /etc/certs/custom/root-cert.pem
          sni: server
    `).ApplyOrFail(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. pkg/bootstrap/option/convert_test.go

    		},
    		{
    			desc: "tls-cli-mutual",
    			tls: &networkingAPI.ClientTLSSettings{
    				Mode:              networkingAPI.ClientTLSSettings_MUTUAL,
    				ClientCertificate: "foo",
    				PrivateKey:        "im-private-foo",
    				Sni:               "bar",
    			},
    			sni:          "",
    			meta:         &model.BootstrapNodeMetadata{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. pkg/kube/client_config.go

    	return nil
    }
    
    func (c *clientConfig) copyRestConfig() *rest.Config {
    	out := c.restConfig
    	return &out
    }
    
    func newAuthInfo(restConfig *rest.Config) *api.AuthInfo {
    	return &api.AuthInfo{
    		ClientCertificate:     restConfig.CertFile,
    		ClientCertificateData: restConfig.CertData,
    		ClientKey:             restConfig.KeyFile,
    		ClientKeyData:         restConfig.KeyData,
    		Token:                 restConfig.BearerToken,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 17 16:52:06 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  9. tests/integration/security/file_mounted_certs/p2p_mtls_test.go

      name: server
      namespace: {{.AppNamespace}}
    spec:
      host: "server.{{.AppNamespace}}.svc.cluster.local"
      trafficPolicy:
        tls:
          mode: MUTUAL
          caCertificates: /client-certs/root-cert.pem
          clientCertificate: /client-certs/cert-chain.pem
          privateKey: /client-certs/key.pem
          subjectAltNames:
            - server.mounted-certs.svc
    
    `
    
    	PeerAuthenticationConfig = `
    apiVersion: security.istio.io/v1beta1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. pkg/kube/util.go

    				}
    			}
    		}
    		if auths.ClientKey != "" && !allowlist.Contains("clientKey") {
    			return fmt.Errorf("clientKey is not allowed")
    		}
    		if auths.ClientCertificate != "" && !allowlist.Contains("clientCertificate") {
    			return fmt.Errorf("clientCertificate is not allowed")
    		}
    		if auths.TokenFile != "" && !allowlist.Contains("tokenFile") {
    			return fmt.Errorf("tokenFile is not allowed")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top