Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 264777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:42:50+00:00 2026-05-11T22:42:50+00:00

Scenario: A client calls WebService A on the LAN. WebService A is running under

  • 0

Scenario:

  • A client calls WebService A on the LAN. WebService A is running under an App Pool with Identity “Network Service”.
  • WebService A does some work, prepares to call WebService B.
  • WebService B requires a client cert (*.cer) and SSL.
  • WebService A is on a dedicated Windows 2003 server.
  • Everything works in the Dev environment as it should (but the developer with Administrator privileges is always logged on locally (no surprise!).
  • The certificates are stored on disk at C:\MyCertificates\
  • The certificate is being applied at runtime successfully in Dev with this snippet: myWebService.ClientCertificates.Add(new X509Certificate.CreateFromCertFile(certPath));

Problem:
WebService A is calling WebService B, and the returned exception is:

The request failed with HTTP status
403: Forbidden

This really means that the certificate was not sent in the request to WebService B.

I am under the assumption that installing this cert into the browser is not a solution. The browser settings typically are per-user, and I need to give the certificate to the user whose credentials the web service is running under. (e.g. Network Service, System, or whatever is in the IIS AppPool settings).

Question: How can I grant access or association to my certificate living at the specified directory location to the Network Service or other non-user account?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:42:50+00:00Added an answer on May 11, 2026 at 10:42 pm

    This Microsoft knowledgebase article may be of use:

    How to call a Web service by using a client certificate for authentication in an ASP.NET Web application (MS KB901183)

    Your web service ‘A’ would effectively be the ASP.NET application calling the web service as described in the article.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: WCF client app, calling a web-service (JAVA) operation, wich requires a complex object
I've setup an example in which a client calls a WCF service that has
When using .net remoting, does the server limit incoming client remoting calls? I find
Scenario: I'm running code on the client that connects to a server and uses
I have the following scenario: A Service that does nothing but sleeps for the
I'm looking for a queuing system that could support the following scenario: A client
Consider and client server scenario and you got two options: You can include Server's
Say I have a simple client/server scenario with one method: // client code $client
My scenario is this: A client application executes a HTTP POST against an endpoint
I have the following scenario. The client code only has access to FooHandler, not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.