Could not establish trust relationship with remote server Windows Mobile Rest Problem number -2146762486 RRS feed

  • Question

  • I have configured SSL in my REST service and I need to access that in windows mobile 6.5 device.

    but i'm getting the following error.

    I got Problem number  -2146762486 when i use CheckValidationResult method by implementing ICertificatePolicy.

    System.Net.WebException: Could not establish trust relationship with remote server 

    System.Net.WebException: The remote certificate has failed validation procedure.
    at System.Net.SslConnectionState.PerformClientHandShake()
    at System.Net.Connection.connect(Object ignored)
    at System.Threading.ThreadPool.WorkItem.doWork(Object o)
    at System.Threading.Timer.ring()

    at System.Net.HttpWebRequest.finishGetResponse()
    at System.Net.HttpWebRequest.GetResponse()

    Wednesday, June 27, 2012 11:33 AM

All replies