- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 97 for not_after (0.15 sec)
-
security/pkg/pki/ca/ca_test.go
// however citatel won't rotate if that happens delta := certChain.NotAfter.Sub(t0.Add(ca.defaultCertTTL)) if delta >= time.Second*2 { t.Errorf("Invalid default cert TTL, should be the same as cert chain: %v VS (expected) %v", t0.Add(ca.defaultCertTTL), certChain.NotAfter) } } func TestSignCSR(t *testing.T) { subjectID := "spiffe://example.com/ns/foo/sa/bar"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 08:51:27 UTC 2023 - 29.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/kubeadm/test/kubeconfig/util.go
return } // Asserts the clientCert is signed by the signinCa certstestutil.AssertCertificateIsSignedByCa(t, currentClientCert, signinCa) // Assert the clientCert has expected NotAfter certstestutil.AssertCertificateHasNotAfter(t, currentClientCert, expectedNotAfter) // Asserts the clientCert has ClientAuth ExtKeyUsage certstestutil.AssertCertificateHasClientAuthUsage(t, currentClientCert)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.9K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
value = "cash.app", ), ), ), validity = Validity( notBefore = 0L, notAfter = 1000L, ), subject = listOf( listOf( AttributeTypeAndValue( type = COMMON_NAME,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
pilot/pkg/bootstrap/certcontroller.go
} for _, c := range x509Cert { log.Infof("x509 cert - Issuer: %q, Subject: %q, SN: %x, NotBefore: %q, NotAfter: %q", c.Issuer, c.Subject, c.SerialNumber, c.NotBefore.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)) } } log.Info("Istiod certificates are reloaded") s.certMu.Lock() s.istiodCert = &keyPair s.certMu.Unlock() return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/registry/certificates/certificates/storage/metrics.go
} // now we check to see if the signer honored the requested duration certificate := certs[0] wantDuration := csr.ExpirationSecondsToDuration(*oldCSR.Spec.ExpirationSeconds) actualDuration := certificate.NotAfter.Sub(certificate.NotBefore) if isDurationHonored(wantDuration, actualDuration) { honored.WithLabelValues(signer).Inc() } }, nil } } func isDurationHonored(want, got time.Duration) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 4.9K bytes - Viewed (0) -
security/pkg/pki/util/verify_cert_test.go
}, "TTL error": { privPem: []byte(key), certChainPem: []byte(certChain), rootCertPem: []byte(rootCert), expectedFields: extKeyUsage, expectedErr: "unexpected value for 'NotAfter' - 'NotBefore'", }, "extKeyUsage error": { privPem: []byte(key), certChainPem: []byte(certChain), rootCertPem: []byte(rootCert), expectedFields: ttl,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 16 14:56:37 UTC 2022 - 6.5K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
return false, nil } now := time.Now() for _, cert := range certs { if now.After(cert.NotAfter) { utilruntime.HandleError(fmt.Errorf("part of the existing bootstrap client certificate in %s is expired: %v", kubeconfigPath, cert.NotAfter)) return false, nil } } return true, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
Value: "Gopher", }, // This should override the Country, above. { Type: []int{2, 5, 4, 6}, Value: "NL", }, }, }, NotBefore: time.Unix(1000, 0), NotAfter: time.Unix(100000, 0), SignatureAlgorithm: test.sigAlgo, SubjectKeyId: []byte{1, 2, 3, 4}, KeyUsage: KeyUsageCertSign, ExtKeyUsage: testExtKeyUsage,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist.go
if len(k.CAName) != 0 { if ic.ClusterConfiguration.CertificateValidityPeriod != nil { k.config.NotAfter = k.creationTime. Add(ic.ClusterConfiguration.CertificateValidityPeriod.Duration) } } else { if ic.ClusterConfiguration.CACertificateValidityPeriod != nil { k.config.NotAfter = k.creationTime. Add(ic.ClusterConfiguration.CACertificateValidityPeriod.Duration) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15.8K bytes - Viewed (0)