[Mono-list] HTTPS-connection from CLI running mono-service

JohnK john.kolle at gmail.com
Mon Oct 22 10:47:34 UTC 2012


Hi 

I solved the problem by using the work around with creating ...

private bool Validator(object sender, X509Certificate certificate, X509Chain
chain, SslPolicyErrors sslpolicyErrors)
{			
	return true;
}

And 

calling this method from:

ServicePointManager.ServerCertificateValidationCallback = Validator;

This way of working around the issue can be found here:
http://www.mono-project.com/UsingTrustedRootsRespectfully





--
View this message in context: http://mono.1490590.n4.nabble.com/HTTPS-connection-from-CLI-running-mono-service-tp4657014p4657043.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list