Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 101 for common_name (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. security/pkg/pki/util/dual_use.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"fmt"
    	"strings"
    )
    
    // DualUseCommonName extracts a valid CommonName from a comma-delimited host string
    // for dual-use certificates.
    func DualUseCommonName(host string) (string, error) {
    	// cn uses one hostname, drop the rest
    	first := strings.SplitN(host, ",", 2)[0]
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/certs/renewal/filerenewer_test.go

    	// creates a File renewer using a test Certificate authority
    	fr := NewFileRenewer(testCACert, testCAKey)
    
    	// renews a certificate
    	certCfg := &pkiutil.CertConfig{
    		Config: certutil.Config{
    			CommonName: "test-certs",
    			AltNames: certutil.AltNames{
    				DNSNames: []string{"test-domain.space"},
    			},
    			Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
    		},
    	}
    
    	cert, _, err := fr.Renew(certCfg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 28 04:36:54 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

            }
        }
    
        static class SftpExpectOnePath extends SftpExpectOne {
    
            final String path
    
            SftpExpectOnePath(int type, String commandName, String path, boolean failing = false, boolean missing = false) {
                super(type, "$commandName for $path", failing, missing)
                this.path = path
            }
    
            protected boolean bufferMatches(Buffer buffer, int id) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/GitVersionControlSystem.java

        }
    
        private static GradleException wrapGitCommandException(String commandName, URI repoUrl, File workingDir, Exception e) {
            if (workingDir == null) {
                return new GradleException(String.format("Could not run %s for %s", commandName, repoUrl), e);
            }
            return new GradleException(String.format("Could not %s from %s in %s", commandName, repoUrl, workingDir), e);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 14:54:52 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/crypto/x509/root_unix_test.go

    			for i, cn := range tc.cns {
    				if i >= r.len() {
    					t.Errorf("missing cert %v @ %v", cn, i)
    				} else if r.mustCert(t, i).Subject.CommonName != cn {
    					fmt.Printf("%#v\n", r.mustCert(t, 0).Subject)
    					t.Errorf("unexpected cert common name %q, want %q", r.mustCert(t, i).Subject.CommonName, cn)
    				}
    			}
    			if r.len() > len(tc.cns) {
    				t.Errorf("got %v certs, which is more than %v wanted", r.len(), len(tc.cns))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top