- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,706 for cacert (0.1 sec)
-
plugin/pkg/admission/imagepolicy/certs_test.go
// and holds raw certificates for the imagepolicy webhook tests. //lint:file-ignore U1000 Ignore all unused code, it's generated package imagepolicy var caCert = []byte(`-----BEGIN CERTIFICATE----- MIIDFzCCAf+gAwIBAgIJAJlL10mfdZraMA0GCSqGSIb3DQEBCwUAMCExHzAdBgNV BAMMFndlYmhvb2tfaW1hZ2Vwb2xpY3lfY2EwIBcNMTYwODEyMjAyMjUwWhgPMjI5 MDA1MjgyMDIyNTBaMCExHzAdBgNVBAMMFndlYmhvb2tfaW1hZ2Vwb2xpY3lfY2Ew
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 14 12:41:21 UTC 2021 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/certs_test.go
limitations under the License. */ // This file was generated using openssl by the gencerts.sh script // and holds raw certificates for the webhook tests. package webhook var caCert = []byte(`-----BEGIN CERTIFICATE----- MIIDCzCCAfOgAwIBAgIJAKK9m2Cfg5uhMA0GCSqGSIb3DQEBCwUAMBsxGTAXBgNV BAMMEHdlYmhvb2tfYXV0aHpfY2EwIBcNMTYwMjE2MjM0NDI4WhgPMjI4OTEyMDEy MzQ0MjhaMBsxGTAXBgNVBAMMEHdlYmhvb2tfYXV0aHpfY2EwggEiMA0GCSqGSIb3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 22 21:47:17 UTC 2020 - 8.4K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/token/token.go
func buildSecureBootstrapKubeConfig(endpoint string, caCert []byte, clustername string) *clientcmdapi.Config { controlPlaneEndpoint := fmt.Sprintf("https://%s", endpoint) bootstrapConfig := kubeconfigutil.CreateBasic(controlPlaneEndpoint, clustername, BootstrapUser, caCert) return bootstrapConfig }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 10.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/storage/storage_factory.go
cert, err := tls.LoadX509KeyPair(storageConfig.Transport.CertFile, storageConfig.Transport.KeyFile) if err != nil { klog.Errorf("failed to load key pair while getting backends: %s", err) } else { tlsConfig.Certificates = []tls.Certificate{cert} } } if len(storageConfig.Transport.TrustedCAFile) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 13:35:58 UTC 2023 - 14.1K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache_test.go
expectResult bool }{ "cert not exist": { certPath: "./invalid-path/invalid-file", keyPath: "./testdata/cert-chain.pem", expectResult: false, }, "key not exist": { certPath: "./testdata/cert-chain.pem", keyPath: "./invalid-path/invalid-file", expectResult: false, }, "key and cert valid": { certPath: "./testdata/cert-chain.pem",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations_test.go
rootCAs := x509.NewCertPool() rootCAs.AppendCertsFromPEM(caCert) cert, err := tls.X509KeyPair(serverCert, serverKey) if err != nil { t.Fatalf("failed to init x509 cert/key pair: %v", err) } tlsConfig := &tls.Config{ Certificates: []tls.Certificate{cert}, RootCAs: rootCAs, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 25.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
// (+/- offset) func ValidateCertPeriod(cert *x509.Certificate, offset time.Duration) error { period := fmt.Sprintf("NotBefore: %v, NotAfter: %v", cert.NotBefore, cert.NotAfter) now := time.Now().Add(offset).UTC() if now.Before(cert.NotBefore) { return errors.Errorf("the certificate is not valid yet: %s", period) } if now.After(cert.NotAfter) { return errors.Errorf("the certificate has expired: %s", period)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
) const ( // The ID/name for the certificate chain in kubernetes generic secret. GenericScrtCert = "cert" // The ID/name for the private key in kubernetes generic secret. GenericScrtKey = "key" // The ID/name for the CA certificate in kubernetes generic secret. GenericScrtCaCert = "cacert" // The ID/name for the CRL in kubernetes generic secret. GenericScrtCRL = "crl"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
pilot/pkg/model/credentials/resource.go
BuiltinGatewaySecretType = "builtin" BuiltinGatewaySecretTypeURI = BuiltinGatewaySecretType + "://" // SdsCaSuffix is the suffix of the sds resource name for root CA. SdsCaSuffix = "-cacert" ) // SecretResource defines a reference to a secret type SecretResource struct { // ResourceType is the type of secret. One of KubernetesSecretType or KubernetesGatewaySecretType ResourceType string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 28 20:33:15 UTC 2023 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go
if err != nil { t.Fatalf("failed to extract ca cert from SNI cert %d: %v", j, err) } caCerts = append(caCerts, ca) // store index in namedCertKeys with the signature as the key sig, err := certFileSignature(certBundleFile, keyFile) if err != nil { t.Fatalf("failed get SNI cert %d signature: %v", j, err) } signatures[sig] = j }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 15:52:39 UTC 2024 - 13.8K bytes - Viewed (0)