SSL, CF, and wireless?

E

Earl

VS2005 CompactFramework. I am developing a PocketPC Phone app that uses a
lot of webservice functions. Testing the app in the emulator and on the
phone itself, I'm getting a "Could not establish trust relationship with
remote server" error message when I try to call a secure webservice
function.

The development system is a laptop with a wireless broadband connection, and
the PocketPC Phone uses Verizon's wireless broadband services (EVDO). The
emulator is cradled and connects through ActiveSync with the Internet.
Testing this with both the phone and the emulator, Pocket IE connects to
websites, just not to secure connections.

I've tested the webservices function calls by creating a Windows test app
with a wired broadband connection -- the function calls return what they are
supposed to with no errors. So it's clear my issue is with either CF, SSL,
and/or the wireless.

I've read several posts that allude to similar issues, but nothing directly
on point. Does anyone have any insight into this?
 
D

Darren Shaffer

Earl,

Is it a Windows Mobile 5 Device? If so, Verisign certs may not work. Certs
from
Thawte seem to work ok. I am working with Microsoft on this issue and will
keep you
posted. If it is a PPC 2003 device, have you installed the .CER file on the
device?

--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
 
E

Earl

Thanks for the insight Darren. Actually, what I found last night was tidy
and effective - the idea for resolution came via Alex Yakhnin's blog:

http://blog.opennetcf.org/ayakhnin/CategoryView.aspx?category=HTTPS

But the answer actually came from a link therein to Jan Tielens blog:

http://weblogs.asp.net/jan/archive/2003/12/04/41154.aspx

It took a little tweaking with the references and a second small function (I
am using VB.Net), but it does what I need. Without it, I could never run my
app in the emulator!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top