[Mono-list] HTTPS: 'Invalid certificate received from server.' and mozroots

chadwackerman chadwackerman at gmail.com
Tue Jan 25 21:49:58 EST 2011


I couldn't get this working with Mono 2.6.7 no matter what I tried on Ubuntu
or CentOS.

With 2.8.2 I did a "mozroots --machine --import --sync" and it just worked.

This unfortunate hack seems to be littering many open source projects. It's
bad:

ServicePointManager.ServerCertificateValidationCallback += delegate { return
true; };
-- 
View this message in context: http://mono.1490590.n4.nabble.com/HTTPS-Invalid-certificate-received-from-server-and-mozroots-tp3226929p3237391.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list