- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 101 for common_name (0.17 sec)
-
misc/ios/detect.go
check(f.Close()) cert, err := plistExtract(fname, "DeveloperCertificates:0") check(err) pcert, err := x509.ParseCertificate(cert) check(err) fmt.Printf("export GOIOS_DEV_ID=\"%s\"\n", pcert.Subject.CommonName) appID, err := plistExtract(fname, "Entitlements:application-identifier") check(err) fmt.Printf("export GOIOS_APP_ID=%s\n", appID)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:30 UTC 2023 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
// Generate a self-signed cert for the server to serve and the client to trust. // can't use TlsUtil.localhost with a non OpenJSSE trust manager val heldCertificate = HeldCertificate.Builder() .commonName("localhost") .addSubjectAlternativeName("localhost") .build() val handshakeCertificates = HandshakeCertificates.Builder() .heldCertificate(heldCertificate)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
security/pkg/pki/util/generate_csr.go
if options.IsDualUse { cn, err := DualUseCommonName(h) if err != nil { // log and continue log.Errorf("dual-use failed for CSR template - omitting CN (%v)", err) } else { template.Subject.CommonName = cn } } template.ExtraExtensions = []pkix.Extension{*s} } return template, nil } // AppendRootCerts appends root certificates in RootCertFile to the input certificate.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 06 12:48:53 UTC 2023 - 4.1K bytes - Viewed (0) -
cmd/kube-apiserver/app/testing/testserver.go
proxySigningKey, err = testutil.NewPrivateKey() if err != nil { return result, err } proxySigningCert, err = cert.NewSelfSignedCACert(cert.Config{CommonName: "front-proxy-ca"}, proxySigningKey) if err != nil { return result, err } } proxyCACertFile := filepath.Join(s.SecureServing.ServerCert.CertDirectory, "proxy-ca.crt")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 17.6K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
if !connected { return errors.New("timed out waiting to connect to apiserver") } return nil } // requestNodeCertificate will create a certificate signing request for a node // (Organization and CommonName for the CSR will be set as expected for node // certificates) and send it to API server, then it will watch the object's // status, once approved by API server, it will return the API server's issued
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/xfcc_authenticator.go
return nil, fmt.Errorf(message) } ids := []string{} for _, cc := range clientCerts { ids = append(ids, cc.URI...) ids = append(ids, cc.DNS...) if cc.Subject != nil { ids = append(ids, cc.Subject.CommonName) } } return &security.Caller{ AuthSource: security.AuthSourceClientCertificate, Identities: ids, }, nil } func isTrustedAddress(addr string, trustedCidrs []string) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 17:05:56 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet.go
// don't return a template if we have no addresses to request for if len(hostnames) == 0 && len(ips) == 0 { return nil } return &x509.CertificateRequest{ Subject: pkix.Name{ CommonName: fmt.Sprintf("system:node:%s", nodeName), Organization: []string{"system:nodes"}, }, DNSNames: hostnames, IPAddresses: ips, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:16 UTC 2024 - 10.3K bytes - Viewed (0) -
src/crypto/x509/hybrid_pool_test.go
t.Fatalf("tls connection failed: %s", err) } googChain := c.ConnectionState().PeerCertificates rootTmpl := &x509.Certificate{ SerialNumber: big.NewInt(1), Subject: pkix.Name{CommonName: "Go test root"}, IsCA: true, BasicConstraintsValid: true, NotBefore: time.Now().Add(-time.Hour), NotAfter: time.Now().Add(time.Hour * 10), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:48:11 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/controller/certificates/approver/sarapprove.go
return capihelper.IsKubeletClientCSR(x509cr, usagesToSet(csr.Spec.Usages)) } func isSelfNodeClientCert(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool { if csr.Spec.Username != x509cr.Subject.CommonName { return false } return isNodeClientCert(csr, x509cr) } func usagesToSet(usages []capi.KeyUsage) sets.String { result := sets.NewString() for _, usage := range usages {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 16:03:42 UTC 2023 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go
// suitable for use in tls.Config#NamedCertificates. func getCertificateNames(cert *x509.Certificate) []string { var names []string cn := cert.Subject.CommonName cnIsIP := netutils.ParseIPSloppy(cn) != nil cnIsValidDomain := cn == "*" || len(validation.IsDNS1123Subdomain(strings.TrimPrefix(cn, "*."))) == 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 21 07:29:30 UTC 2022 - 3.2K bytes - Viewed (0)