SSL and web services

From: robconery_at_hotmail.com ((robconery_at_hotmail.com))
Date: 04/30/04


Date: Fri, 30 Apr 2004 00:58:28 -0700

Hello- I have been through Google Groups and all over the web reading up on SSL and web services, and so far I think I am becoming an expert! So here's the problem-
I can connect to the web service and execute from a cosole application, and not from my web application - i receive the familiar "The underlying connection was closed: Could not establish secure channel for SSL/TLS" when i try to run this service.

I made my own ICertificatePolicy class, and am using that to ignore the warnings; that didn't do it.
I put the valid certificate in my web root, and referenced it in the code; that didn't do it
I checked my proxy connections, dropped my firewall, made sure the service was running, proxied the WSDL files on my local machine, and that didn't do it.

I can't post all of the code here for NDA reasons, but my major question is this: How is it that i can run the exact same code from a console app and have it work, and not have it work using a web app?

The only difference that i can see is that the web app process is using the ASPNET account, and not my local account, to execute the web service. I can't see how that would be an issue, but if it is, can one of you genius types offer a solution?

Thanks so much,
Rob

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...



Relevant Pages

  • Re: Need to write web service
    ... I think for my web app I chose ASP.NET Web Site next but perhaps it was Empty Web Site--not sure, but I see ASP.NET Web Service which sounds more like what I want this time. ... Can I write a web service in a windows app? ... Web Services are web applications but they can be used in any .NET ... select Add Web Reference to add a webservice. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: Web App Complexity Metrics / Scoping a Web App
    ... Web App Complexity Metrics / Scoping a Web App ...  - Does the application have a web services interface? ...
    (Pen-Test)
  • Re: How to consume Web Services in Mobile Applications?
    ... Sure you can consume web services in mobile applications. ... a Smart Client or a web app.? ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Start Web services as Windows Services start
    ... Web services run inside a web app which, in turn, runs in IIS. ... So long as IIS is set to start at bootup and the web app containing the web ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Add User Group?
    ... If not then AFAIK you do not need ASPNET account. ... it is added by installing the .Net Framework. ... I need to add ASPNET as a local machine user ... > for web services, but don't want it to be an available ...
    (microsoft.public.windowsxp.security_admin)