Re: Using SSL with Smartphone Emulator



> Hello!
>
> I try to call an WebService over SSL. When i call him, i get an
> WebException ("Could not establish secure channel for SSL/TLS").
>
> After that i tried it on the Smartphone and there it works. So, do i have
> something to setup to run it with the Emulator, because it can't be the
> code.
>
> I get the same Exception, even if i create a HttpWebResponse to an
> HttpWebRequest which goes to an SSL Page (tried eBay, verisign.com and my
> WebService). All have an SSL Certificate with v3.0 installed, so this
> should be not the problem.
>

I have a similar problem when calling a webservice from a PDA over SSL. I
just get an exception saying "Could not establish trust relationship with
remote server". The server is an internal development server and the PDA is
sitting in its cradle (wifi/GPRS is in DMZ/outside the firewall). I use
PocketHosts to create a hosts file on the PDA. I can connect to the server
with the PDAs IE via SSL, but for some reason it seems my application does
not trust the server?! The code runs just fine if moved to a regular .NET
application and executed on my pc.

any ideas?

- patrick


.



Relevant Pages

  • Re: Using SSL with Smartphone Emulator
    ... Take at look my blog entry for some tips and trick on enabling SSL on PPC. ... "Patrick Hayes" wrote: ... The server is an internal development server and the PDA ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: The remote certificate is invalid according to the validation proc
    ... the webservice is protected through https/ssl. ... you also add client certificate in your ... try accessing the server service to see ... SSL certificate or the servername you used to access the server. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Problems sending web services request from WAS 6 to WAS 5.1
    ... application to an existing server over SSL. ... but the webservice provider's server is still running ... HTTP Post to the webservice endpoint. ...
    (comp.lang.java.programmer)
  • Re: Activesync 0x85030022 error : the server you are synchronizing with is not an Exchange server
    ... http://publicurl.com/exchange-oma, which should give us an Exchange owa ... synchronizing with is not an Exchange server ... | I want this to work without SSL because the problem is not SSL related ... | even after hacking the registry of the pda following some advices i ...
    (microsoft.public.windows.server.sbs)
  • Re: OMA Error
    ... The address you point the PDA to is the same as the OWA address. ... would recommend using SSL on the server and PDA connection. ... have created a new Virtual Server on my Exchange machine to not ...
    (microsoft.public.exchange.admin)

Quantcast