Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for certv1 (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/kubeadm/app/util/config/cluster.go

    	cert := certs[0]
    
    	// gets the node name from the certificate common name
    	return strings.TrimPrefix(cert.Subject.CommonName, constants.NodesUserPrefix), nil
    }
    
    func getAPIEndpoint(client clientset.Interface, nodeName string, apiEndpoint *kubeadmapi.APIEndpoint) error {
    	return getAPIEndpointWithRetry(client, nodeName, apiEndpoint,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. 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)
  7. tests/integration/security/sds_ingress/util/util.go

    		},
    	}
    
    	if callType == Mtls {
    		opts.TLS.Key = tlsCtx.PrivateKey
    		opts.TLS.Cert = tlsCtx.Cert
    	}
    
    	// Certs occasionally take quite a while to become active in Envoy, so retry for a long time (2min)
    	ing.CallOrFail(ctx, opts)
    }
    
    // RotateSecrets deletes kubernetes secrets by name in credNames and creates same secrets using key/cert
    // from ingressCred.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top