- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,706 for cacert (0.15 sec)
-
pkg/test/cert/ca/intermediate.go
return nil, err } // Create the cert chain by concatenating the intermediate and root certs. certChain := caCert + rootCert return &corev1.Secret{ ObjectMeta: metav1.ObjectMeta{ Name: "cacerts", }, Data: map[string][]byte{ "ca-cert.pem": []byte(caCert), "ca-key.pem": []byte(caKey), "cert-chain.pem": []byte(certChain), "root-cert.pem": []byte(rootCert), }, }, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 3.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
cmd/kubeadm/app/cmd/phases/init/certs.go
} certsphase.CheckCertificatePeriodValidity(caCert.BaseName, caCertData) if err := pkiutil.VerifyCertChain(certData, intermediates, caCertData); err != nil { return errors.Wrapf(err, "[certs] certificate %s not signed by CA certificate %s", cert.BaseName, caCert.BaseName) } fmt.Printf("[certs] Using existing %s certificate and key on disk\n", cert.BaseName) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 06:35:45 UTC 2024 - 9.8K bytes - Viewed (0) -
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) -
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) -
pkg/controller/certificates/authority/authority_test.go
want x509.Certificate wantErr string }{ { name: "ca info", policy: PermissiveSigningPolicy{TTL: time.Hour, Now: nowFunc}, want: x509.Certificate{ Issuer: caCert.Subject, AuthorityKeyId: caCert.SubjectKeyId, NotBefore: now, NotAfter: now.Add(1 * time.Hour), BasicConstraintsValid: true, }, }, { name: "key usage",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 23 19:36:11 UTC 2021 - 7.3K bytes - Viewed (0)