BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in WSCF/WCF

 
 
Page 8042 of 19595

WCF exception: The remote certificate is invalid according to the validation procedure

Blogger : hongmeigs WebLog
All posts : All posts by hongmeigs WebLog
Category : WSCF/WCF
Blogged date : 2007 May 01

If you are using Https, this might fix it.

            ServicePointManager.ServerCertificateValidationCallback = RemoteCertificateValidationCallback;

 

 

   public static bool RemoteCertificateValidationCallback(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)

        {

            // do some validation here...

        }

 

Please refer to http://blogs.msdn.com/suwatch/archive/2007/04/06/x509-and-wcxf-security.aspx for a complete picture.


Read comments or post a reply to : WCF exception: The remote certificate is invalid according to the validation procedure
Page 8042 of 19595

Newest posts
 

    Email TopXML