fix: Setup globally RemoteCertificateValidationCallback
This commit is contained in:
parent
de6285466c
commit
9e253e6f05
@ -41,8 +41,8 @@ namespace ArStomp
|
||||
{
|
||||
this.certCollection = certCollection;
|
||||
|
||||
// TODO find alternative method in case of .netstandard2.0
|
||||
// ws.Options.RemoteCertificateValidationCallback = RemoteCertificateValidationCallback;
|
||||
// In .netstandard2.0 - setup validator globally
|
||||
System.Net.ServicePointManager.ServerCertificateValidationCallback = RemoteCertificateValidationCallback;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user