Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for rootcert1 (0.15 sec)

  1. pilot/pkg/networking/core/cluster_tls_test.go

    	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
    		opts                     *buildClusterOpts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. tests/integration/security/filebased_tls_origination/main_test.go

    				WorkloadPort: 8092,
    				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)
  3. src/crypto/x509/root.go

    	"sync"
    	_ "unsafe" // for linkname
    )
    
    // systemRoots should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/breml/rootcerts
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname systemRoots
    var (
    	once           sync.Once
    	systemRootsMu  sync.RWMutex
    	systemRoots    *CertPool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/common/deployment/external.go

    		Ports:             ports.All(),
    		// Set up TLS certs on the server. This will make the server listen with these credentials.
    		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")),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    	}
    	defer os.RemoveAll(tmpdir)
    
    	rootCert2, rootKey2, err := NewCertificateAuthority(&CertConfig{
    		Config: certutil.Config{CommonName: "Root CA 2"},
    	})
    	if err != nil {
    		t.Errorf("failed to create root CA cert and key with an error: %v", err)
    	}
    
    	intCert2, intKey2, err := NewIntermediateCertificateAuthority(rootCert2, rootKey2, &CertConfig{
    		Config: certutil.Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. tools/packaging/common/gcp_envoy_bootstrap.json

                "target_uri": "{{ .discovery_address }}",
                "stat_prefix": "googlegrpcxds",
                "channel_credentials": {
                  "ssl_credentials": {
                    {{ with .xds_root_cert}}"root_certs": {"filename": "{{.}}"}{{ end }}
                  }
                },
                "call_credentials": [{
                {{ if .sts }}
                  "sts_service": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pkg/volume/projected/projected_test.go

    					ObjectMeta: metav1.ObjectMeta{
    						Name: "foo",
    					},
    					Spec: certificatesv1alpha1.ClusterTrustBundleSpec{
    						TrustBundle: string(goodCert1),
    					},
    				},
    			},
    			wantPayload: map[string]util.FileProjection{
    				"bundle.pem": {
    					Data: []byte(goodCert1),
    					Mode: 0644,
    				},
    			},
    		},
    		{
    			name: "single ClusterTrustBundle by signer name",
    			source: v1.ProjectedVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  8. pkg/adsc/adsc.go

    	XDSSAN string
    
    	// XDSRootCAFile explicitly set the root CA to be used for the XDS connection.
    	// Mirrors Envoy file.
    	XDSRootCAFile string
    
    	// RootCert contains the XDS root certificate. Used mainly for tests, apps will normally use
    	// XDSRootCAFile
    	RootCert []byte
    
    	// InsecureSkipVerify skips client verification the server's certificate chain and host name.
    	InsecureSkipVerify bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	client := rotator.config.client
    	caSecret, _ := client.Secrets(rotator.config.caStorageNamespace).Get(context.TODO(), rotator.config.secretName, metav1.GetOptions{})
    	rootCert := rotator.ca.keyCertBundle.GetRootCertPem()
    	return rootCertItem{caSecret: caSecret, rootCertInKeyCertBundle: rootCert}
    }
    
    // TestRootCertRotatorForSigningCitadel verifies that rotator rotates root cert,
    // updates key cert bundle and config map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/templates/deployment.yaml

    ---
    {{- end }}
    {{- end }}
    {{- if .TLSSettings}}{{if not .TLSSettings.ProxyProvision }}
    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