Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for commonName (0.13 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          listOf(GeneralName.iPAddress, "1.1.1.1"),
          listOf(GeneralName.dNSName, "cash.app"),
        )
      }
    
      @Test
      fun commonName() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("cash.app")
            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo("CN=cash.app")
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. security/pkg/pki/testdata/multilevelpki/int-cert.cfg

    countryName_default = US
    stateOrProvinceName = CA
    stateOrProvinceName_default = CA
    localityName = Sunnyvale
    localityName_default = Sunnyvale
    organizationalUnitName = Istio
    organizationalUnitName_default = Istio
    commonName = Intermediate CA
    commonName_default = Intermediate CA
    commonName_max  = 64
    
    [v3_req]
    basicConstraints = CA:TRUE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 526 bytes
    - Viewed (0)
  3. security/pkg/pki/testdata/multilevelpki/int2-cert.cfg

    countryName_default = US
    stateOrProvinceName = CA
    stateOrProvinceName_default = CA
    localityName = Sunnyvale
    localityName_default = Sunnyvale
    organizationalUnitName = Istio
    organizationalUnitName_default = Istio
    commonName = Intermediate CA2
    commonName_default = Intermediate CA2
    commonName_max  = 64
    
    [v3_req]
    basicConstraints = CA:TRUE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 528 bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    		{
    			name: "has ServerAuth",
    			config: CertConfig{
    				Config: certutil.Config{
    					CommonName: "test",
    					Usages:     []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
    				},
    			},
    			expected: true,
    		},
    		{
    			name: "has ServerAuth ECDSA",
    			config: CertConfig{
    				Config: certutil.Config{
    					CommonName: "test",
    					Usages:     []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. src/crypto/x509/x509_test.go

    			t.Errorf("%s: failed to parse excluded URIs: %#v", test.name, cert.ExcludedURIDomains)
    		}
    
    		if cert.Subject.CommonName != commonName {
    			t.Errorf("%s: subject wasn't correctly copied from the template. Got %s, want %s", test.name, cert.Subject.CommonName, commonName)
    		}
    
    		if len(cert.Subject.Country) != 1 || cert.Subject.Country[0] != "NL" {
    			t.Errorf("%s: ExtraNames didn't override Country", test.name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  6. src/crypto/x509/pkix/pkix.go

    	ret = n.appendRDNs(ret, n.PostalCode, oidPostalCode)
    	ret = n.appendRDNs(ret, n.Organization, oidOrganization)
    	ret = n.appendRDNs(ret, n.OrganizationalUnit, oidOrganizationalUnit)
    	if len(n.CommonName) > 0 {
    		ret = n.appendRDNs(ret, []string{n.CommonName}, oidCommonName)
    	}
    	if len(n.SerialNumber) > 0 {
    		ret = n.appendRDNs(ret, []string{n.SerialNumber}, oidSerialNumber)
    	}
    	for _, atv := range n.ExtraNames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. security/pkg/pki/util/generate_csr_test.go

    			IsDualUse:  true,
    		}
    
    		csr, err := GenCSRTemplate(opts)
    		if err != nil {
    			t.Error(err)
    		}
    
    		if csr.Subject.CommonName != tc.expectedCN {
    			t.Errorf("unexpected value for 'CommonName' field: want %v but got %v", tc.expectedCN, csr.Subject.CommonName)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 09:40:13 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. pkg/apis/certificates/helpers.go

    	if !kubeletServingRequiredUsages.Equal(usages) && !kubeletServingRequiredUsagesNoRSA.Equal(usages) {
    		return fmt.Errorf("usages did not match %v", kubeletServingRequiredUsages.List())
    	}
    
    	if !strings.HasPrefix(req.Subject.CommonName, "system:node:") {
    		return commonNameNotSystemNode
    	}
    
    	return nil
    }
    
    var (
    	kubeletClientRequiredUsagesNoRSA = sets.NewString(
    		string(UsageDigitalSignature),
    		string(UsageClientAuth),
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. samples/bookinfo/platform/kube/bookinfo-certificate.yaml

    kind: Certificate
    metadata:
      name: istio-ingressgateway-certs
      namespace: istio-system
    spec:
      secretName: istio-ingressgateway-certs
      issuerRef:
        name: letsencrypt-staging
        kind: ClusterIssuer
      commonName: bookinfo.example.com
      dnsNames:
      - bookinfo.example.com
      acme:
        config:
        - http01:
            ingressClass: none
          domains:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 02 15:32:24 UTC 2019
    - 914 bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	if !cfg.NotAfter.IsZero() {
    		notAfter = cfg.NotAfter
    	}
    
    	tmpl := x509.Certificate{
    		SerialNumber: serial,
    		Subject: pkix.Name{
    			CommonName:   cfg.CommonName,
    			Organization: cfg.Organization,
    		},
    		DNSNames:              []string{cfg.CommonName},
    		NotBefore:             notBefore,
    		NotAfter:              notAfter,
    		KeyUsage:              keyUsage,
    		BasicConstraintsValid: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top