Related to this conted, following examples show how to implement a custom certificate validator and how to configure client or service credentials to replace the default certificate validation logic with the custom certificate validator:
1. http://msdn.microsoft.com/en-us/library/ms733806.aspx
2. http://developers.de/blogs/damir_dobric/archive/2008/10/18/x509-certificate-authentication-fake.aspx