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 9073893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:31:16+00:00 2026-06-16T18:31:16+00:00

I have an Web Forms site that will be calling my IIS hosted Web

  • 0

I have an Web Forms site that will be calling my IIS hosted Web API service.
Both the site and the Web API are hosted on the same physical machine.
We also have a x509 certificate on this same machine.

I would like the Web API to use this certificate to authenticate requests. So that it will only accept requests from clients that “use” this certificate.

When I say “use” I was thinking to do either:

  1. to use Request.ClientCertificates.Add(myCert);
    and then in the API – retrieve the certificate from the request and validate it.

2.Or if this is too fiddly to set up (see question below) – to simply sign or encrypt a token (a single word) in a request header. And then verify or decrypt the token in the API service.

My question is – for option 1.

I am unclear about client certs. When I am developing the client and the service, do I need to set up SSL, load the certificate into IIS and debug in IIS to test/debug this?
Or can I test the end to end call just using WebDev?

The reason I ask this – when I tried to do a very simple example in WebDev, I added the certificate to the collection client side, and yet the certificate was not present in the request when the Web API received the request.

Thanks alot.

  • 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-06-16T18:31:17+00:00Added an answer on June 16, 2026 at 6:31 pm

    I am unclear about client certs. When I am developing the client and the service, do I need to set up SSL, load the certificate into IIS and debug in IIS to test/debug this? Or can I test the end to end call just using WebDev?

    In order to use client certificates you must be connecting over SSL (mutual authentication). So, it would mean setting up the web server with a server certificate and then generating a client certificate to be attached to the client request.

    IIS and IIS express both support SSL, but the Visual Studio development web server does not.

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

Sidebar

Related Questions

I have a web site that runs both classic ASP and ASP.NET Webforms. The
I have a web-site written in ColdFusion that contains both the usual interactive web
I have a web forms site that needs to be localized. I mean, it
I have a web site with flash forms that I need to scrape .
I am building a web application that will have a fair bit of forms.
I have two MVC3 sites, both hosted on the same server that I've configured
We have an ASP.NET web forms application that is probably vulnerable to Cross-site request
On the same IIS web site, I have two ASP.NET web applications called /foo
I have a web site that contains an HTML form, in this form I
I have an ASP.NET Web Forms web site. It has a page inside of

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.