- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,041 for certv1 (0.12 sec)
-
pkg/test/csrctrl/controllers/csr_controller.go
func isCertificateRequestApproved(csr *certv1.CertificateSigningRequest) bool { approved, denied := getCertApprovalCondition(&csr.Status) return approved && !denied } func getCertApprovalCondition(status *certv1.CertificateSigningRequestStatus) (approved bool, denied bool) { for _, c := range status.Conditions { if c.Type == certv1.CertificateApproved { approved = true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 17:36:41 UTC 2023 - 3.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
} // Should not be pinned: certificatePinner.check("uk", listOf(certB1.certificate)) certificatePinner.check("co.uk", listOf(certB1.certificate)) certificatePinner.check("anotherexample.co.uk", listOf(certB1.certificate)) certificatePinner.check("foo.anotherexample.co.uk", listOf(certB1.certificate)) } @Test fun testBadPin() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt
val pin = Pin("example.com", certA1Sha256Pin) assertTrue(pin.matchesCertificate(certA1.certificate)) assertFalse(pin.matchesCertificate(certB1.certificate)) } @Test fun testMatchesSha1() { val pin = Pin("example.com", certC1Sha1Pin) assertTrue(pin.matchesCertificate(certC1.certificate)) assertFalse(pin.matchesCertificate(certB1.certificate)) } @Test fun pinList() { val builder =
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt
) assertThat(cleaner.clean(list(certB, certA), "hostname")).isEqualTo( list(certB, certA, trusted, selfSigned), ) assertThat(cleaner.clean(list(certB, certA, trusted), "hostname")).isEqualTo( list(certB, certA, trusted, selfSigned), ) assertThat(cleaner.clean(list(certB, certA, trusted, selfSigned), "hostname")) .isEqualTo( list(certB, certA, trusted, selfSigned), ) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs.go
for _, cert := range info.Certificates { if cert.Missing { s := fmt.Sprintf("!MISSING! %s\t\t\t\t", cert.Name) fmt.Fprintln(tabw, s) continue } s := fmt.Sprintf("%s\t%s\t%s\t%s\t%-8v", cert.Name, cert.ExpirationDate.Format("Jan 02, 2006 15:04 MST"), duration.HumanDuration(time.Duration(cert.ResidualTimeSeconds)*time.Second), cert.CAName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
tests/integration/security/external_ca/main_test.go
name: inject-volume mountPath: /var/lib/istio/inject {{- end }} `, map[string]any{ "rootcert1": cert1.Rootcert, "signer1": cert1.Signer, "rootcert2": cert2.Rootcert, "signer2": cert2.Signer, "isConfigCluster": isConfigCluster, "isExternalControlPlane": isExternalControlPlane, }) return cfgYaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 22 14:18:21 UTC 2023 - 4.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/copycerts/copycerts.go
} if cfg.Etcd.External == nil { certs[kubeadmconstants.EtcdCACertName] = filepath.Join(certsDir, kubeadmconstants.EtcdCACertName) certs[kubeadmconstants.EtcdCAKeyName] = filepath.Join(certsDir, kubeadmconstants.EtcdCAKeyName) } else { certs[externalEtcdCA] = cfg.Etcd.External.CAFile certs[externalEtcdCert] = cfg.Etcd.External.CertFile certs[externalEtcdKey] = cfg.Etcd.External.KeyFile }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:15:30 UTC 2023 - 10.2K bytes - Viewed (0) -
security/pkg/pki/testdata/multilevelpki/certs.sh
openssl req -new -key int2-key.pem -out int2-cert.csr -config int2-cert.cfg -batch -sha256 openssl x509 -req -days 3650 -in int2-cert.csr -sha256 -CA int-cert.pem -CAkey int-key.pem -CAcreateserial -out int2-cert.pem -extensions v3_req -extfile int2-cert.cfg cat root-cert.pem > int-cert-chain.pem cat int-cert.pem >> int-cert-chain.pem cp int-cert-chain.pem int2-cert-chain.pem cat int2-cert.pem >> int2-cert-chain.pem rm ./*csr
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Sep 14 20:15:07 UTC 2019 - 1.8K 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) -
cmd/kubeadm/app/cmd/options/certs.go
See the License for the specific language governing permissions and limitations under the License. */ package options import "github.com/spf13/pflag" // AddCertificateDirFlag adds the --certs-dir flag to the given flagset func AddCertificateDirFlag(fs *pflag.FlagSet, certsDir *string) { fs.StringVar(certsDir, CertificatesDir, *certsDir, "The path where to save the certificates")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 12 09:44:35 UTC 2021 - 856 bytes - Viewed (0)