add ServerCertificateValidationCallback to skip certification errors.
This commit is contained in:
parent
672a4e01b1
commit
5341fb5db5
|
|
@ -167,6 +167,7 @@ class Downloader
|
||||||
| (SecurityProtocolType)3072
|
| (SecurityProtocolType)3072
|
||||||
| (SecurityProtocolType)768
|
| (SecurityProtocolType)768
|
||||||
| SecurityProtocolType.Ssl3;
|
| SecurityProtocolType.Ssl3;
|
||||||
|
ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;
|
||||||
// Create a request for the specified remote file name
|
// Create a request for the specified remote file name
|
||||||
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(remoteFilename);
|
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(remoteFilename);
|
||||||
//changing it to just "roblox" since roblox is breaking everything.
|
//changing it to just "roblox" since roblox is breaking everything.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue