Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for san (0.02 sec)

  1. pilot/pkg/networking/core/cluster_tls_test.go

    			opts: &buildClusterOpts{
    				mutable: newTestCluster(),
    			},
    			tls: &networking.ClientTLSSettings{
    				Mode:            networking.ClientTLSSettings_ISTIO_MUTUAL,
    				SubjectAltNames: []string{"SAN"},
    				Sni:             "some-sni.com",
    			},
    			result: expectedResult{
    				tlsContext: &tls.UpstreamTlsContext{
    					CommonTlsContext: &tls.CommonTlsContext{
    						TlsParams: &tls.TlsParameters{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/conversion_test.go

    	pod.Namespace = ns
    	pod.Spec.ServiceAccountName = sa
    
    	mesh := &meshconfig.MeshConfig{TrustDomain: "td.local"}
    
    	san := SecureNamingSAN(pod, mesh)
    
    	expectedSAN := fmt.Sprintf("spiffe://td.local/ns/%v/sa/%v", ns, sa)
    
    	if san != expectedSAN {
    		t.Fatalf("SAN match failed, SAN:%v  expectedSAN:%v", san, expectedSAN)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. docs/vi/docs/index.md

      <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
    </p>
    <p align="center">
        FastAPI framework, hiệu năng cao, dễ học, dễ code, sẵn sàng để tạo ra sản phẩm
    </p>
    <p align="center">
    <a href="https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. tests/integration/security/filebased_tls_origination/main_test.go

    		TLSSettings: &common.TLSSettings{
    			RootCert:   mustReadCert("root-cert.pem"),
    			ClientCert: mustReadCert("cert-chain.pem"),
    			Key:        mustReadCert("key.pem"),
    			// Override hostname to match the SAN in the cert we are using
    			Hostname: "server.default.svc",
    		},
    		// Do not inject, as we are testing non-Istio TLS here
    		Subsets: []echo.SubsetConfig{{
    			Version:     "v1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. pkg/spiffe/spiffe.go

    		}
    	}
    	return out
    }
    
    // GetTrustDomainFromURISAN extracts the trust domain part from the URI SAN in the X.509 certificate.
    func GetTrustDomainFromURISAN(uriSan string) (string, error) {
    	parsed, err := ParseIdentity(uriSan)
    	if err != nil {
    		return "", fmt.Errorf("failed to parse URI SAN %s. Error: %v", uriSan, err)
    	}
    	return parsed.TrustDomain, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. security/pkg/server/ca/server.go

    	return s.Node + "/" + s.ServiceAccount.String()
    }
    
    // CreateCertificate handles an incoming certificate signing request (CSR). It does
    // authentication and authorization. Upon validated, signs a certificate that:
    // the SAN is the identity of the caller in authentication result.
    // the subject public key is the public key in the CSR.
    // the validity duration is the ValidityDuration in request, or default value if the given duration is invalid.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/common/deployment/external.go

    			ClientCert: file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/cert-chain.pem")),
    			Key:        file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")),
    			// Override hostname to match the SAN in the cert we are using
    			// TODO(nmittler): We should probably make this the same as ExternalHostname
    			Hostname: "server.default.svc",
    		},
    		Subsets: []echo.SubsetConfig{
    			{
    				Version:     "v1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/crypto/x509/verify.go

    		if len(c.IPAddresses) == 0 {
    			return "x509: cannot validate certificate for " + h.Host + " because it doesn't contain any IP SANs"
    		}
    		for _, san := range c.IPAddresses {
    			if len(valid) > 0 {
    				valid += ", "
    			}
    			valid += san.String()
    		}
    	} else {
    		valid = strings.Join(c.DNSNames, ", ")
    	}
    
    	if len(valid) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. src/crypto/x509/name_constraints_test.go

    		expectedError: "incompatible key usage",
    	},
    
    	// An invalid DNS SAN should be detected only at validation time so
    	// that we can process CA certificates in the wild that have invalid SANs.
    	// See https://github.com/golang/go/issues/23995
    
    	// #77: an invalid DNS or mail SAN will not be detected if name constraint
    	// checking is not triggered.
    	{
    		roots: make([]constraintsSpec, 1),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. src/crypto/x509/parser.go

    		return errors.New("x509: invalid subject alternative names")
    	}
    	for !der.Empty() {
    		var san cryptobyte.String
    		var tag cryptobyte_asn1.Tag
    		if !der.ReadAnyASN1(&san, &tag) {
    			return errors.New("x509: invalid subject alternative name")
    		}
    		if err := callback(int(tag^0x80), san); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top