mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CP-13389: Allow XenCenter to use TLS 1.1 and 1.2 protocols
This commit is contained in:
parent
09c495552f
commit
26b060257f
@ -316,6 +316,7 @@ namespace XenAdmin
|
|||||||
|
|
||||||
ServicePointManager.DefaultConnectionLimit = 20;
|
ServicePointManager.DefaultConnectionLimit = 20;
|
||||||
ServicePointManager.ServerCertificateValidationCallback = SSL.ValidateServerCertificate;
|
ServicePointManager.ServerCertificateValidationCallback = SSL.ValidateServerCertificate;
|
||||||
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
|
||||||
XenAPI.Session.UserAgent = string.Format("XenCenter/{0}", ClientVersion());
|
XenAPI.Session.UserAgent = string.Format("XenCenter/{0}", ClientVersion());
|
||||||
ReconfigureConnectionSettings();
|
ReconfigureConnectionSettings();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user