Deprecated security protocol (CA5364)
Anahtar dotnet.security.deprecated-security-protocol · Önem error · Kategori security · CWE CWE-327
Microsoft analizörü CA5364. ServicePointManager üzerinde SecurityProtocolType.Ssl3, Tls ve Tls11 atanmasını işaretler; bu, tüm süreci bilinen saldırıları olan protokollere geçiren ayardır.
Yanlış
Bölüm başlığı “Yanlış”ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11;// remove the assignment; the operating system default is TLS 1.2 or later