Re: http request from windows service

From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 12/15/04

  • Next message: splap: "Re: Client Certificate not reaching server"
    Date: Wed, 15 Dec 2004 16:25:41 -0600
    
    

    Ah, the client certificate is almost certainly the issue then. Make sure
    the service account has access to the private key.

    Joe K.

    "Eliyahu Goldin" <removemeegoldin@monarchmed.com> wrote in message
    news:uwqpuEv4EHA.3644@tk2msftngp13.phx.gbl...
    > Thank you Joe,
    >
    > It is SSL and it uses client certificate. I will look at it.
    >
    > Eliyahu
    >
    > "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    > in message news:eiMe00t4EHA.4092@TK2MSFTNGP14.phx.gbl...
    >> It might be credentials-related, SSL related or proxy server related.
    > Does
    >> the server require authentication? If it is SSL, are you sure you have
    > the
    >> trusted roots installed where the service account can get to them? If it
    >> goes through a proxy server, are you sure the service account has that
    > proxy
    >> configuration?
    >>
    >> I'd check those assumptions first. It is a generally good idea to put
    > some
    >> robust instrumentation in any kind of service process though unless you
    > plan
    >> to handle these issues by attaching a debugger to it in production.
    >>
    >> Joe K.
    >>
    >> "Eliyahu Goldin" <removemeegoldin@monarchmed.com> wrote in message
    >> news:OCWmaJt4EHA.1300@TK2MSFTNGP14.phx.gbl...
    >> > When started from command line, the application makes an http request,
    >> > gets
    >> > a response and writes it to a file. When started from a windows
    >> > service,
    >> > no
    >> > file is created. I might have to add some tracing to the application
    >> > and
    >> > see
    >> > if an exception is generated. In meantime I am just wondering if there
    >> > are
    >> > any known security issues.
    >> >
    >> > Thank you for answering,
    >> >
    >> > Eliyahu
    >> >
    >> > "Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in
    > message
    >> > news:eRwMyKs4EHA.2876@TK2MSFTNGP12.phx.gbl...
    >> >> What do you mean by "[it] doesn't seem to work when I start it from a
    >> >> windows service"? Are receiving a particular exception? If so, could
    >> >> you
    >> >> please provide the full exception details as retrieved from a call to
    > its
    >> >> ToString() method?
    >> >>
    >> >>
    >> >> "Eliyahu Goldin" <removemeegoldin@monarchmed.com> wrote in message
    >> >> news:uR1zGgr4EHA.1404@TK2MSFTNGP11.phx.gbl...
    >> >> > What security issues shall I care about when sending http requests
    > from
    >> > a
    >> >> > windows service? I have a console program that works fine if I start
    > it
    >> >> > from
    >> >> > command line and doesn't seem to work when I start it from a windows
    >> >> > service. I am using HttpWebRequest and HttpWebResponse classes.
    >> >> >
    >> >> > Eliyahu
    >> >> >
    >> >> >
    >> >>
    >> >>
    >> >
    >> >
    >>
    >>
    >
    >


  • Next message: splap: "Re: Client Certificate not reaching server"

    Relevant Pages

    • Re: AD password policy in Forms auth against AD
      ... management stuff. ... The other stuff on you list you can definitely accomplish except using LDAP ... >> You'll need a service account that can access the user account to read ... >> Joe K. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Validating a user-ID using System.DirectoryServices
      ... If you want to use S.DS for this, you could use a service account to search ... the directory for their account by username. ... permissions to view the target object, but that would be the case by ... Joe K. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: http request from windows service
      ... It is SSL and it uses client certificate. ... Eliyahu ... SSL related or proxy server related. ... > trusted roots installed where the service account can get to them? ...
      (microsoft.public.dotnet.security)
    • Re: http request from windows service
      ... SSL related or proxy server related. ... trusted roots installed where the service account can get to them? ... are you sure the service account has that proxy ... >> please provide the full exception details as retrieved from a call to its ...
      (microsoft.public.dotnet.security)