Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 597 for clientCert (0.17 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh

    openssl genrsa -out clientKey.pem 2048
    openssl req -new -key clientKey.pem -out client.csr -subj "/CN=${CN_BASE}_client" -config client.conf
    openssl x509 -req -in client.csr -CA caCert.pem -CAkey caKey.pem -CAcreateserial -out clientCert.pem -days 100000 -extensions v3_req -extfile client.conf
    
    outfile=certs_test.go
    
    cat > $outfile << EOF
    /*
    Copyright 2017 The Kubernetes Authors.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 15:57:40 UTC 2022
    - 5.7K 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. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/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)
  7. 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)
  8. 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)
  9. 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)
  10. plugin/pkg/admission/imagepolicy/certs_test.go

    8uKsAQKBgQDO+PmADra91NKJP1iVuvOK8iEy/Z14L03uKtF3X9u8vLdzQZa/Q/P9
    hXOX9ovFwSBQOOfgb+/+QRuPL4xxi1J8CFwrSWCEeFgrDijl9DS6aNY6BWHDA8p6
    8V7Adb04cnenj8QjYYN8/mqsQlHSoAIxeAlUoJpq+pk7O8PAfbjgMw==
    -----END RSA PRIVATE KEY-----`)
    
    var clientCert = []byte(`-----BEGIN CERTIFICATE-----
    MIIC+jCCAeKgAwIBAgIJAMvo2rkGpEURMA0GCSqGSIb3DQEBCwUAMCExHzAdBgNV
    BAMMFndlYmhvb2tfaW1hZ2Vwb2xpY3lfY2EwIBcNMTYwODEyMjAyMjUwWhgPMjI5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 14 12:41:21 UTC 2021
    - 8.6K bytes
    - Viewed (0)
Back to top