Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 597 for clientCert (0.23 sec)

  1. 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)
  2. 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)
  3. cmd/kubeadm/app/util/kubeconfig/kubeconfig_test.go

        token: cba
    `
    )
    
    type configClient struct {
    	clusterName string
    	userName    string
    	serverURL   string
    	caCert      []byte
    }
    
    type configClientWithCerts struct {
    	clientKey  []byte
    	clientCert []byte
    }
    
    type configClientWithToken struct {
    	token string
    }
    
    func TestCreateWithCerts(t *testing.T) {
    	var createBasicTest = []struct {
    		name        string
    		cc          configClient
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 06:49:59 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  4. pkg/test/echo/common/model.go

    // TLSSettings defines TLS configuration for Echo server
    type TLSSettings struct {
    	// If not empty, RootCert supplies the extra root cert that will be appended to the system cert pool.
    	RootCert   string
    	ClientCert string
    	Key        string
    	// If provided, override the host name used for the connection
    	// This needed for integration tests, as we are connecting using a port-forward (127.0.0.1), so
    	// any DNS certs will not validate.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 05 00:22:45 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/certs_test.go

    niyRIGkCgYEAriuxbOCczL/j6u2Xq1ngEsGg+RXjtOYGoJWo7B8qlVL4nF8w1Nbd
    FxEmOChQgUnBdwb93qHCSq0Fidf7OfewrfJJkstWIh3zPS4umLZo7R3YblncpdfT
    M197uckIWccZml2jF/c7nvK+MjwDRhkOl2a6HzMxcdBwYUJmSwmIZ4k=
    -----END RSA PRIVATE KEY-----`)
    
    var clientCert = []byte(`-----BEGIN CERTIFICATE-----
    MIIC7jCCAdagAwIBAgIJAN7rkfhaX8FaMA0GCSqGSIb3DQEBCwUAMBsxGTAXBgNV
    BAMMEHdlYmhvb2tfYXV0aHpfY2EwIBcNMTYwMjE2MjM0NDI4WhgPMjI4OTEyMDEy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 22 21:47:17 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testcerts/certs.go

    gAXG1w0CgYEAq4rhFKVi37qKI8kVHO5O3lvRfKOmiMs2j2X+3T2QSTGcGRZD31EO
    ImRWsYCAaX97313xYhjTT4jJzNU4fdnJ5hFte+Nt7BK1h/ze4+0XGJBK7wnDqaqg
    kL0SB6nxr/Gqnhwx+wEaLkfhiy7Gx0E0IoSGEELsW/MMgvzzAo1/jaM=
    -----END RSA PRIVATE KEY-----`)
    
    var ClientCert = []byte(`-----BEGIN CERTIFICATE-----
    MIIDVTCCAj2gAwIBAgIJANWw74P5KJk3MA0GCSqGSIb3DQEBCwUAMDQxMjAwBgNV
    BAMMKWdlbmVyaWNfd2ViaG9va19hZG1pc3Npb25fcGx1Z2luX3Rlc3RzX2NhMCAX
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 18 05:02:47 UTC 2017
    - 12.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_TLSConfig_To_apiserver_TLSConfig(in *TLSConfig, out *apiserver.TLSConfig, s conversion.Scope) error {
    	out.CABundle = in.CABundle
    	out.ClientKey = in.ClientKey
    	out.ClientCert = in.ClientCert
    	return nil
    }
    
    // Convert_v1beta1_TLSConfig_To_apiserver_TLSConfig is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:10:34 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/ca.go

    	pb "istio.io/api/security/v1alpha1"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/framework"
    	pkiutil "istio.io/istio/security/pkg/pki/util"
    )
    
    type Cert struct {
    	ClientCert, Key, RootCert []byte
    }
    
    func CreateCertificate(t framework.TestContext, i Instance, serviceAccount, namespace string) (Cert, error) {
    	c := t.Clusters().Default()
    	rootCert, err := FetchRootCert(c.Kube())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. internal/config/notify/legacy.go

    			Value: cfg.QueueDir,
    		},
    		config.KV{
    			Key:   target.WebhookQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.WebhookClientCert,
    			Value: cfg.ClientCert,
    		},
    		config.KV{
    			Key:   target.WebhookClientKey,
    			Value: cfg.ClientKey,
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyPostgres - helper for config migration from older config.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. helm/minio/templates/deployment.yaml

                {{- end }}
                {{- if .Values.etcd.endpoints }}
                - name: MINIO_ETCD_ENDPOINTS
                  value: {{ join "," .Values.etcd.endpoints | quote }}
                {{- if .Values.etcd.clientCert }}
                - name: MINIO_ETCD_CLIENT_CERT
                  value: "/tmp/credentials/etcd_client_cert.pem"
                {{- end }}
                {{- if .Values.etcd.clientCertKey }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 03 17:50:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top