- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 350 for certv1 (0.18 sec)
-
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) -
pilot/pkg/trustbundle/trustbundle_test.go
func TestIsEqSpliceStr(t *testing.T) { testCases := []struct { certs1 []string certs2 []string expSame bool }{ { certs1: []string{"a", "b"}, certs2: []string{}, expSame: false, }, { certs1: []string{"a", "b"}, certs2: []string{"b"}, expSame: false, }, { certs1: []string{"a", "b"}, certs2: []string{"a", "b"}, expSame: true, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
internal/http/server_test.go
"net/http" "reflect" "testing" "github.com/minio/pkg/v3/certs" ) func TestNewServer(t *testing.T) { nonLoopBackIP := getNonLoopBackIP(t) handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, world") }) testCases := []struct { addrs []string handler http.Handler certFn certs.GetCertificateFunc }{ {[]string{"127.0.0.1:9000"}, handler, nil},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/integration/security/egress_gateway_origination_test.go
PrivateKey: file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")), CaCert: file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/root-cert.pem")), Crl: file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/ca.crl")), }, false) // Configured with dummy CRL
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15.4K bytes - Viewed (0) -
security/pkg/pki/util/crypto_test.go
certBytes := []byte(certECDSA) certBytes = AppendCertByte(certBytes, []byte(certRSA)) result := PemCertBytestoString(certBytes) cert1 := strings.TrimSuffix(strings.TrimPrefix(certECDSA, "\n"), "\n") cert2 := strings.TrimSuffix(strings.TrimPrefix(certRSA, "\n"), "\n") if !reflect.DeepEqual(result, []string{cert1, cert2}) { t.Errorf("Basic comparison fails!") } // check only first string passed if second is bogus
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go
return configMapNamespace + "/" + configMapName } func encodeCertificates(certs ...*x509.Certificate) ([]byte, error) { b := bytes.Buffer{} for _, cert := range certs { if err := pem.Encode(&b, &pem.Block{Type: "CERTIFICATE", Bytes: cert.Raw}); err != nil { return []byte{}, err } } return b.Bytes(), nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go
certs := []*x509.Certificate{} for _, pemData := range pemData { certs = append(certs, getCert(t, pemData)) } return certs } func TestCertificateIdentifier(t *testing.T) { tt := []struct { name string cert *x509.Certificate expectedIdentifier string }{ { name: "client cert",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 23:23:03 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/istio-agent/plugins.go
if err != nil { return nil, fmt.Errorf("failed to find root CA cert for CA: %v", err) } if tlsOpts.RootCert == "" { log.Infof("Using CA %s cert with system certs", opts.CAEndpoint) } else if !fileExists(tlsOpts.RootCert) { log.Fatalf("invalid config - %s missing a root certificate %s", opts.CAEndpoint, tlsOpts.RootCert) } else { log.Infof("Using CA %s cert with certs: %s", opts.CAEndpoint, tlsOpts.RootCert) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 03:32:57 UTC 2024 - 2.7K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml
{{- if eq .Values.global.pilotCertProvider "istiod" }} - name: istiod-ca-cert configMap: name: istio-ca-root-cert {{- end }} {{- if .Values.global.mountMtlsCerts }} # Use the key and cert mounted to /etc/certs/ for the in-cluster mTLS communications. - name: istio-certs secret: optional: true {{ if eq .Spec.ServiceAccountName "" }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 26 16:51:17 UTC 2024 - 12.1K bytes - Viewed (0) -
tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go
} else { destinationRuleToParse = DestinationRuleConfigDisabledOrIstioMutual } if fakeRootCert { rootCertPathToUse = "/etc/certs/custom/fake-root-cert.pem" } else { rootCertPathToUse = "/etc/certs/custom/root-cert.pem" } istioCfg := istio.DefaultConfigOrFail(t, t) systemNamespace := namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace) args := map[string]string{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.9K bytes - Viewed (0)