Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for serverAuth (0.12 sec)

  1. src/crypto/x509/name_constraints_test.go

    	{
    		roots: []constraintsSpec{
    			{
    				ekus: []string{"serverAuth"},
    			},
    		},
    		intermediates: [][]constraintsSpec{
    			{
    				{
    					ekus: []string{"serverAuth", "email"},
    				},
    			},
    		},
    		leaf: leafSpec{
    			sans: []string{"dns:example.com"},
    			ekus: []string{"serverAuth"},
    		},
    	},
    
    	// #66: EKUs in roots are not ignored.
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/certlist.go

    				// server cert: https://github.com/etcd-io/etcd/issues/9785#issuecomment-396715692
    				// Once the upstream issue is resolved, this should be returned to only allowing
    				// ServerAuth usage.
    				Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth},
    			},
    		},
    		configMutators: []configMutatorsFunc{
    			makeAltNamesMutator(pkiutil.GetEtcdAltNames),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	csr, err := NewCSR(*config, key)
    	if err != nil {
    		return nil, nil, errors.Wrap(err, "unable to generate CSR")
    	}
    
    	return csr, key, nil
    }
    
    // HasServerAuth returns true if the given certificate is a ServerAuth
    func HasServerAuth(cert *x509.Certificate) bool {
    	for i := range cert.ExtKeyUsage {
    		if cert.ExtKeyUsage[i] == x509.ExtKeyUsageServerAuth {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go

    	   EXTFILE="${EXTFILE}authorityKeyIdentifier=keyid,issuer\n" && \
    	   EXTFILE="${EXTFILE}basicConstraints=CA:FALSE\n" && \
    	   EXTFILE="${EXTFILE}subjectAltName=email:copy\n" && \
    	   EXTFILE="${EXTFILE}extendedKeyUsage=serverAuth\n" && \
    	   openssl  x509 -req -days 36500 \
    	   	-in ./server.csr \
    	   	-extfile <(printf "${EXTFILE}") \
    	   	-CA ./root.crt \
    	   	-CAkey ./root.key \
    	   	-set_serial 7 \
    	          	-sha256 \
    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