Re: HttpWebRequest.GetRequestStream - Trust Failure In Windows Service
From: Nicole Calinoiu (calinoiu)
Date: Wed, 27 Jul 2005 18:15:17 -0400
A few questions:
1. Do both the console and service calls attempt to connect to the exact
same URL (incl. use of https protocol)?
2. Are both the console and service run from the same machine?
3. Are both the console and service run under the same Windows user
(If the answer to any of the above is "no", please provide details on the
4. Does the target server require that a client certificate be provided?
"FloridaCoder" <FloridaCoder@discussions.microsoft.com> wrote in message
> The code with this call works fine when hosted in a Console application,
> throws error Trust Failure - The underlying connection was closed: could
> establish trust relationship with remote server when run in a windows
> I have spent almost the whole day reading about security, attributes, etc.
> but I just can't get this to work.