https://bugzilla.novell.com/show_bug.cgi?id=445991

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=445991#c2


Anil Kumar <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Severity|Major                                           |Critical
           Priority|P5 - None                                       |P3 - Medium




--- Comment #2 from Anil Kumar <[EMAIL PROTECTED]>  2008-11-19 07:35:00 MST ---
We are building our code on Mono 1.2 and the binary is supposed to be running
on 2.0 .
------------------
But i also tried building my code on Mono 2.0 and running on Mono 2.0, then
also i was hitting same issue as in comment #1:The code i wrote was something
like this : 

   ServicePointManager.ServerCertificateValidationCallback += new 
                  System.Net.Security.RemoteCertificateValidationCallback(
                              ServerCertificateValidationCallback);

and i implemented on static bool function ServerCertificateValidationCallback()
to always return true. 
----------------------------

But the bug is mainly about comment #1 where i use : 
     ServicePointManager.CertificatePolicy = new TrustAllCertificates();

 and then i implemented a class TrustAllCertificates in which
CheckValidationResult() function will always return true.

This builds and works on Mono 1.2 .... But even if i build it on Mono 2.0/1.2 ,
It does not run on Mono 2.0 . It gives the exception as in comment #1. 

We have more than 1 DLL and we are using same code in different DLLs, so does
that can be an issue with Mono 2.0 ? 

Increasing the priority to P3.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to