Could not establish trust relationship with remote server

Jan 12, 2008 at 12:27 AM
Hello

I'm building and testing a sample application with Windows Mobile. My application worked fine with Windows Mobile 5.0 PPC Emulator.

But with real Windows Mobile 5.0 PPC device I encountered error while logging to the Facebook. The error message is

WebException
Could not establish trust relationship with remote server

at
System.Net.HttpWebRequest.finishGetRequestStream()
at
System.Net.HttpWebRequest.GetRequestStream()

...


Is there anyone who has the same problem?
Jan 12, 2008 at 8:13 AM
Hi Seyoung,

I've faced the same problem in my early developments for the mobile platform. The issue was that you should download a certificate from the web and install it on the mobile device for the facebook application to work and authenticate correctly.

I've done so and it worked for me on the emulator only. I'm still having this problem however on the physical device.
The certificate filename is: EquifaxSecureGlobaleBusinessCA-1_DER.cer

Regards
Jan 14, 2008 at 8:58 PM
Hi Joebros

Even with the certificate file I'm having the problem. I'll send a email to PeterFoot who ported it for .NET CF.

Regards.
Jan 14, 2008 at 9:47 PM
Ok,

Can you please post the solution for your problem on this discussion thread?

Thanks


Seyoung wrote:
Hi Joebros

Even with the certificate file I'm having the problem. I'll send a email to PeterFoot who ported it for .NET CF.

Regards.

Jan 14, 2008 at 10:05 PM
Hi Joebros

I got a solution with googling. --> http://weblogs.asp.net/tgraham/archive/2004/08/12/213469.aspx
In my case the number 2) solved my problem. Good luck.

Regards.