- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for rootCertPem (0.33 sec)
-
security/pkg/pki/ra/k8s_ra_test.go
if tc.rootCertForMeshConfig != "" { rootCertPem, err := os.ReadFile(tc.rootCertForMeshConfig) if err != nil { t.Errorf("Failed to read sample %s", tc.rootCertForMeshConfig) } caCertificates := []*meshconfig.MeshConfig_CertificateData{ {CertificateData: &meshconfig.MeshConfig_CertificateData_Pem{Pem: string(rootCertPem)}, CertSigners: []string{signer}}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 00:44:54 UTC 2023 - 9.7K bytes - Viewed (0) -
security/pkg/server/ca/server.go
} rootCertExpiryTimestamp.Record(rootCertExpiry) rootCertPem, err := util.ParsePemEncodedCertificate(keyCertBundle.GetRootCertPem()) if err != nil { serverCaLog.Errorf("failed to parse the root cert: %v", err) } rootCertExpirySeconds.ValueFrom(func() float64 { return time.Until(rootCertPem.NotAfter).Seconds() }) if len(keyCertBundle.GetCertChainPem()) == 0 { return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 17:35:26 UTC 2024 - 8K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache.go
if len(trustBundlePEM) > 0 { rootCertPEM = concatCerts(trustBundlePEM) } else { // If CA Client has no explicit mechanism to retrieve CA root, infer it from the root of the certChain rootCertPEM = []byte(certChainPEM[len(certChainPEM)-1]) } return &security.SecretItem{ CertificateChain: certChain,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 08:29:46 UTC 2024 - 28.2K bytes - Viewed (0) -
security/pkg/pki/ca/ca_test.go
} if !signingCertFromSecret.Equal(signingCert) { t.Error("CA signing cert does not match the K8s secret") } } func TestCreateSelfSignedIstioCAWithSecret(t *testing.T) { rootCertPem := cert1Pem // Use the same signing cert and root cert for self-signed CA. signingCertPem := []byte(cert1Pem) signingKeyPem := []byte(key1Pem) client := fake.NewSimpleClientset()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 08:51:27 UTC 2023 - 29.1K bytes - Viewed (0)