Aller au contenu

Deprecated security protocol (CA5364)

Ce contenu n’est pas encore disponible dans votre langue.

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