Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for subjectAltNames (0.36 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    			Name:            svc.Name,
    			Namespace:       svc.Namespace,
    			Hostname:        h,
    			Addresses:       addresses,
    			Ports:           ports,
    			Waypoint:        waypointAddress,
    			SubjectAltNames: svc.Spec.SubjectAltNames,
    		})
    	}
    	return res
    }
    
    func (a *index) constructService(svc *v1.Service, w *Waypoint) *workloadapi.Service {
    	ports := make([]*workloadapi.Port, 0, len(svc.Spec.Ports))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/cds_test.go

    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"example.default.svc.cluster.local"},
    			Ports: []*networking.ServicePort{{
    				Number:   80,
    				Protocol: "HTTP",
    				Name:     "http",
    			}},
    			SubjectAltNames: []string{"se-top"},
    			Resolution:      networking.ServiceEntry_STATIC,
    			Endpoints: []*networking.WorkloadEntry{{
    				Address:        "1.1.1.1",
    				ServiceAccount: "se-endpoint",
    			}},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

      }
    
      private fun getSubjectAltNames(
        certificate: X509Certificate,
        type: Int,
      ): List<String> {
        try {
          val subjectAltNames = certificate.subjectAlternativeNames ?: return emptyList()
          val result = mutableListOf<String>()
          for (subjectAltName in subjectAltNames) {
            if (subjectAltName == null || subjectAltName.size < 2) continue
            if (subjectAltName[0] != type) continue
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. pilot/pkg/security/authn/utils/utils.go

    		CipherSuites:              ciphers,
    		TlsMinimumProtocolVersion: minTLSVersion,
    		TlsMaximumProtocolVersion: tls.TlsParameters_TLSv1_3,
    	}
    	authn_model.ApplyToCommonTLSContext(ctx.CommonTlsContext, node, []string{}, /*subjectAltNames*/
    		"", /*crl*/
    		trustDomainAliases, ctx.RequireClientCertificate.Value)
    
    	// Compliance for downstream mesh mTLS.
    	authn_model.EnforceCompliance(ctx.CommonTlsContext)
    	return ctx
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. pkg/config/validation/agent/validation.go

    			// In tls simple mode, we can specify ca cert by CaCertificates or CredentialName.
    			if settings.CaCertificates != "" || settings.CredentialName != "" || settings.SubjectAltNames != nil {
    				errs = AppendErrors(errs, fmt.Errorf("cannot specify CaCertificates or CredentialName or SubjectAltNames when InsecureSkipVerify is set true"))
    			}
    		}
    
    		if settings.Mode == networking.ClientTLSSettings_MUTUAL {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    					Tls: &networking.ClientTLSSettings{
    						Mode:            networking.ClientTLSSettings_SIMPLE,
    						CaCertificates:  constants.RootCertFilename,
    						Sni:             "foo.default.svc.cluster.local",
    						SubjectAltNames: []string{"foo.default.svc.cluster.local"},
    					},
    				},
    			},
    			enableAutoSni:            false,
    			enableVerifyCertAtClient: false,
    			expectTLSContext: &tls.UpstreamTlsContext{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/conversion.go

    		Addresses: svc.GetAddresses(proxy),
    
    		// This is based on alpha.istio.io/canonical-serviceaccounts and
    		//  alpha.istio.io/kubernetes-serviceaccounts.
    		SubjectAltNames: svc.ServiceAccounts,
    	}
    
    	if len(svc.Attributes.LabelSelectors) > 0 {
    		se.WorkloadSelector = &networking.WorkloadSelector{Labels: svc.Attributes.LabelSelectors}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway_test.go

    					Protocol: string(protocol.HTTPS),
    				},
    				Tls: &networking.ServerTLSSettings{
    					Mode:            networking.ServerTLSSettings_SIMPLE,
    					CredentialName:  "ingress-sds-resource-name",
    					SubjectAltNames: []string{"subject.name.a.com", "subject.name.b.com"},
    				},
    			},
    			result: &auth.DownstreamTlsContext{
    				CommonTlsContext: &auth.CommonTlsContext{
    					AlpnProtocols: util.ALPNHttp,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  9. pkg/config/validation/validation_test.go

    			Host: "reviews",
    			TrafficPolicy: &networking.TrafficPolicy{
    				Tls: &networking.ClientTLSSettings{
    					Mode:            networking.ClientTLSSettings_SIMPLE,
    					CaCertificates:  "test",
    					SubjectAltNames: []string{"reviews.default.svc"},
    				},
    			},
    		}, valid: true},
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  10. tests/integration/security/file_mounted_certs/main_test.go

    func setupApps(ctx resource.Context, customNs namespace.Getter, customCfg *[]echo.Config) error {
    	appsNamespace := customNs.Get()
    
    	// Server certificate has "server.file-mounted.svc" in SANs; Same is expected in DestinationRule.subjectAltNames for the test Echo server
    	// This cert is going to be used as a server and "client" certificate on the "Echo Server"'s side
    	err := CreateCustomSecret(ctx, ServerSecretName, appsNamespace, ServerCertsPath)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top