- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TlsParameters_TlsProtocol (0.33 sec)
-
pilot/pkg/security/authn/utils/utils.go
// BuildInboundTLS returns the TLS context corresponding to the mTLS mode. func BuildInboundTLS(mTLSMode model.MutualTLSMode, node *model.Proxy, protocol networking.ListenerProtocol, trustDomainAliases []string, minTLSVersion tls.TlsParameters_TlsProtocol, mc *meshconfig.MeshConfig, ) *tls.DownstreamTlsContext { if mTLSMode == model.MTLSDisable || mTLSMode == model.MTLSUnknown { return nil } ctx := &tls.DownstreamTlsContext{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 00:16:21 UTC 2024 - 3.8K bytes - Viewed (0) -
pilot/pkg/security/authn/utils/utils_test.go
) func TestGetMinTLSVersion(t *testing.T) { tests := []struct { name string minTLSVer meshconfig.MeshConfig_TLSConfig_TLSProtocol expectedMinTLSVer tls.TlsParameters_TlsProtocol }{ { name: "Default TLS versions", expectedMinTLSVer: tls.TlsParameters_TLSv1_2, }, { name: "Configure minimum TLS version 1.2",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 10 20:24:43 UTC 2023 - 3.1K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway.go
return BuildListenerTLSContext(server.Tls, proxy, mesh, transportProtocol, gateway.IsTCPServerWithTLSTermination(server)) } func convertTLSProtocol(in networking.ServerTLSSettings_TLSProtocol) tls.TlsParameters_TlsProtocol { out := tls.TlsParameters_TlsProtocol(in) // There should be a one-to-one enum mapping if out < tls.TlsParameters_TLS_AUTO || out > tls.TlsParameters_TLSv1_3 { log.Warnf("was not able to map TLS protocol to Envoy TLS protocol")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0) -
pilot/pkg/networking/core/listener.go
tlsParamsOrNew(ctx).CipherSuites = tlsDefaults.CipherSuites } if tlsDefaults.MinProtocolVersion != meshconfig.MeshConfig_TLSConfig_TLS_AUTO { tlsParamsOrNew(ctx).TlsMinimumProtocolVersion = auth.TlsParameters_TlsProtocol(tlsDefaults.MinProtocolVersion) } } func applyServerTLSSettings(serverTLSSettings *networking.ServerTLSSettings, ctx *auth.CommonTlsContext) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 55.1K bytes - Viewed (0)