Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 219 for mtls (0.24 sec)

  1. pilot/pkg/security/authn/utils/utils.go

    	// Compliance for downstream mesh mTLS.
    	authn_model.EnforceCompliance(ctx.CommonTlsContext)
    	return ctx
    }
    
    // GetMinTLSVersion returns the minimum TLS version for workloads based on the mesh config.
    func GetMinTLSVersion(ver meshconfig.MeshConfig_TLSConfig_TLSProtocol) tls.TlsParameters_TlsProtocol {
    	switch ver {
    	case meshconfig.MeshConfig_TLSConfig_TLSV1_3:
    		return tls.TlsParameters_TLSv1_3
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tests/integration/security/reachability_test.go

    					expectCrossNetwork: never,
    					expectSuccess:      always,
    				},
    
    				// --------start of auto mtls partial test cases ---------------
    				// The follow three consecutive test together ensures the auto mtls works as intended
    				// for sidecar migration scenario.
    				{
    					name: "migration no tls",
    					configs: config.Sources{
    						config.File("testdata/reachability/global-peer-authn.yaml.tmpl"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. pilot/pkg/security/authn/policy_applier.go

    			}
    		}
    	}
    
    	return outputPolicy
    }
    
    func isMtlsModeUnset(mtls *v1beta1.PeerAuthentication_MutualTLS) bool {
    	return mtls == nil || mtls.Mode == v1beta1.PeerAuthentication_MutualTLS_UNSET
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    				makeInstance(httpStatic, "2.2.2.2", 18080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    				makeInstance(httpStatic, "3.3.3.3", 1080, httpStatic.Spec.(*networking.ServiceEntry).Ports[0], nil, MTLS),
    				makeInstance(httpStatic, "3.3.3.3", 8080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. tests/integration/security/egress_gateway_origination_test.go

    			var (
    				credNameGeneric    = "mtls-credential-generic"
    				credNameNotGeneric = "mtls-credential-not-generic"
    				fakeCredNameA      = "fake-mtls-credential-a"
    				credNameMissing    = "mtls-credential-not-created"
    				simpleCredName     = "tls-credential-simple-cacert"
    				credWithCRL        = "mtls-credential-crl"
    				credWithDummyCRL   = "mtls-credential-dummy-crl"
    			)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. tests/integration/pilot/grpc_probe_test.go

    			}
    
    			ns := namespace.NewOrFail(t, t, namespace.Config{Prefix: "grpc-probe", Inject: true})
    			// apply strict mtls
    			t.ConfigKube(t.Clusters().Configs()...).YAML(ns.Name(), `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: grpc-probe-mtls
    spec:
      mtls:
        mode: STRICT`).ApplyOrFail(t)
    
    			for _, testCase := range []struct {
    				name     string
    				rewrite  bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. tests/integration/security/mtls_healthcheck_test.go

    ) {
    	ctx.Helper()
    	wantSuccess := rewrite
    	policyYAML := fmt.Sprintf(`apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: "mtls-strict-for-%v"
    spec:
      selector:
        matchLabels:
          app: "%v"
      mtls:
        mode: STRICT
    `, name, name)
    	ctx.ConfigIstio().YAML(ns.Name(), policyYAML).ApplyOrFail(ctx)
    
    	var healthcheck echo.Instance
    	cfg := echo.Config{
    		Namespace: ns,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/istio-service-dashboard.json

              "format": "time_series",
              "intervalFactor": 1,
              "legendFormat": "{{ source_workload }}.{{ source_workload_namespace }} : {{ response_code }} (🔐mTLS)",
              "refId": "A",
              "step": 2
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 111.8K bytes
    - Viewed (0)
  9. tests/integration/security/ca_custom_root/secure_naming_test.go

    // - The certificate issued by CA to the sidecar is as expected and that strict mTLS works as expected.
    // - The plugin CA certs are correctly used in workload mTLS.
    // - The CA certificate in the configmap of each namespace is as expected, which
    //
    //	is used for data plane to control plane TLS authentication.
    //
    // - Secure naming information is respected in the mTLS handshake.
    func TestSecureNaming(t *testing.T) {
    	framework.NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/sidecar_simulation_test.go

    			},
    			Strict: simulation.Result{
    				// TLS, but not mTLS
    				Error: simulation.ErrMTLSError,
    			},
    		},
    		{
    			Name: "mtls to http",
    			Call: simulation.Call{
    				Port:     80,
    				Protocol: simulation.HTTP,
    				TLS:      simulation.MTLS,
    				CallMode: simulation.CallModeInbound,
    			},
    			Disabled: simulation.Result{
    				// TLS is not terminated, so we will attempt to decode as HTTP and fail
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top