Ir al contenido

Deprecated security protocol (CA5364)

Esta página aún no está disponible en tu idioma.

Key dotnet.security.deprecated-security-protocol · Severity error · Category security · CWE CWE-327

Microsoft analyzer CA5364. Flags SecurityProtocolType.Ssl3, Tls and Tls11 set on ServicePointManager - the process-wide switch to protocols with known attacks.

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11;
// remove the assignment; the operating system default is TLS 1.2 or later