[Mono-list] HTTPS-connection from CLI running mono-service
nicklas at isharp.dk
Mon Oct 22 12:28:26 UTC 2012
However, your workaround leaves your service vulnerable to man in the
middle attacks, as you are regarding ALL ssl certificates as OK. Just
something to think about, before you go into production.
Founder & Lead Developer
iSharp Solutions ApS
On Mon, Oct 22, 2012 at 12:47 PM, JohnK <john.kolle at gmail.com> wrote:
> I solved the problem by using the work around with creating ...
> private bool Validator(object sender, X509Certificate certificate,
> chain, SslPolicyErrors sslpolicyErrors)
> return true;
> calling this method from:
> ServicePointManager.ServerCertificateValidationCallback = Validator;
> This way of working around the issue can be found here:
> View this message in context:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list