Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 391 for caCert (0.1 sec)

  1. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	if !newCert.Equal(readCert) {
    		t.Errorf("read cert does not match with expected new cert")
    	}
    }
    
    // writeTestCertificate is a utility for creating a test certificate
    func writeTestCertificate(t *testing.T, dir, name string, caCert *x509.Certificate, caKey crypto.Signer, organization []string, notBefore, notAfter time.Time) *x509.Certificate {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. tests/integration/security/util/cert/cert.go

    	return CreateCustomCASecret(ctx,
    		"ca-cert.pem", "ca-key.pem",
    		"cert-chain.pem", "root-cert.pem")
    }
    
    // CreateCASecretAlt creates a k8s secret "cacerts" to store the CA key and cert using an alternative set of certs.
    func CreateCASecretAlt(ctx resource.Context) error {
    	return CreateCustomCASecret(ctx,
    		"ca-cert-alt.pem", "ca-key-alt.pem",
    		"cert-chain-alt.pem", "root-cert-alt.pem")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 16:44:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. pilot/pkg/networking/plugin/authn/util.go

    	if features.SkipValidateTrustDomain {
    		return nil
    	}
    
    	tds := append([]string{meshConfig.TrustDomain}, meshConfig.TrustDomainAliases...)
    	for _, cacert := range meshConfig.GetCaCertificates() {
    		tds = append(tds, cacert.GetTrustDomains()...)
    	}
    	return dedupTrustDomains(tds)
    }
    
    func dedupTrustDomains(tds []string) []string {
    	known := sets.New[string]()
    	deduped := make([]string, 0, len(tds))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 16:11:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. tests/integration/security/egress_sidecar_tls_origination_test.go

    			// Create a valid kubernetes secret to provision key/cert for sidecar.
    			ingressutil.CreateIngressKubeSecretInNamespace(t, credNameGeneric, ingressutil.Mtls, ingressutil.IngressCredential{
    				Certificate: file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/cert-chain.pem")),
    				PrivateKey:  file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. cluster/gce/gci/testdata/kube-apiserver/etcd.template

    {{ template "base" .KubeHome }}
    readonly ETCD_APISERVER_CA_KEY={{.CAKey}}
    readonly ETCD_APISERVER_CA_CERT={{.CACert}}
    readonly ETCD_APISERVER_SERVER_KEY={{.APIServerKey}}
    readonly ETCD_APISERVER_SERVER_CERT={{.APIServerCert}}
    readonly ETCD_APISERVER_CLIENT_KEY={{.ETCDKey}}
    readonly ETCD_APISERVER_CLIENT_CERT={{.ETCDCert}}
    readonly ETCD_SERVERS={{.ETCDServers}}
    readonly ETCD_APISERVER_CA_CERT_PATH={{.CACertPath}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 18 11:14:24 UTC 2021
    - 819 bytes
    - Viewed (0)
  6. samples/certs/generate-workload.sh

    [alt_names]
    URI = $san
    EOF
    
    certchain="$FINAL_DIR"/cert-chain.pem
    cacert="$FINAL_DIR"/ca-cert.pem
    cakey="$FINAL_DIR"/ca-key.pem
    rootcert="$FINAL_DIR"/root-cert.pem
    
    if [[ "$rootselect" = "use-alternative-root" ]] ; then
      certchain="$FINAL_DIR"/cert-chain-alt.pem
      cacert="$FINAL_DIR"/ca-cert-alt.pem
      cakey="$FINAL_DIR"/ca-key-alt.pem
      rootcert="$FINAL_DIR"/root-cert-alt.pem
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 07 23:57:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/init/certs.go

    	// certificate that is preceded by the CAs that sign them.
    	var lastCACert *certsphase.KubeadmCert
    	for _, cert := range certsphase.GetDefaultCertList() {
    		var phase workflow.Phase
    		if cert.CAName == "" {
    			phase = newCertSubPhase(cert, runCAPhase(cert))
    			lastCACert = cert
    		} else {
    			phase = newCertSubPhase(cert, runCertPhase(cert, lastCACert))
    		}
    		subPhases = append(subPhases, phase)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/test/util.go

    }
    
    // SetupPkiDirWithCertificateAuthority is a utility function for kubeadm testing that creates a
    // CertificateAuthority cert/key pair into /pki subfolder of a given temporary directory.
    // The function returns the path of the created pki.
    func SetupPkiDirWithCertificateAuthority(t *testing.T, tmpdir string) string {
    	caCert, caKey := certtestutil.SetupCertificateAuthority(t)
    
    	certDir := filepath.Join(tmpdir, "pki")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/kubeconfig/kubeconfig_test.go

    current-context: user2@kubernetes
    kind: Config
    preferences: {}
    users:
    - name: user2
      user:
        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) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 06:49:59 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. src/crypto/x509/root_linux.go

    	"/etc/pki/tls/certs/ca-bundle.crt",                  // Fedora/RHEL 6
    	"/etc/ssl/ca-bundle.pem",                            // OpenSUSE
    	"/etc/pki/tls/cacert.pem",                           // OpenELEC
    	"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", // CentOS/RHEL 7
    	"/etc/ssl/cert.pem",                                 // Alpine Linux
    }
    
    // Possible directories with certificate files; all will be read.
    var certDirectories = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:55:35 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top