Ask a Question related to ASP.NET Web Services, Design and Development.
-
Someone Beneath the Blue Sky #1
Programmatically Asking for Client Certificate
Hello All,
I have written a web service. I've added the following code to the
global.asax.cs
protected void Application_BeginRequest(Object sender, EventArgs e)
{
if ( !Request.IsSecureConnection )
{
Response.Redirect(
Request.Url.ToString().Replace( "http:", "https:" ) );
return;
}
}
It forces the clients to connect to my web service only through SSL.
Now I want to force them to supply a client certificate with their
https request (the corresponding flag on IIS is set to not to require
client certificate). How can I do that through dotnet (for example
changing some flag in Requesnt object) ? I know how we can do this
when using wininet, but don't know how to do that in dotnet.
Also I want to set the Common Name of the client certificate in the
server response, so that in case of multiple client certificates if
doesn't ask the client to choose which certificate to use. Is there
any way to do this ?
Any help would be appreciated.
Someone Beneath the Blue Sky Guest
-
ASP.Net using a Client Certificate on IIS 6.0
I have an ASP.Net application application that uses a client certificate to communicate to a third party. Now, in Win2K, to install the Class 1... -
Client Side Certificate
Hi, Regarding Microsoft Knowledge Base Article : 315588, We have 60 clients for our ASP.NET application. Do we need to buy an SSL Key from... -
IIS forgetting I want it to use a client certificate...
We have a WLBS Win2K cluster with IIS5. We have an ASP app that needs to programmatically connect to another server with a client certificate. I... -
Client Certificate Info
This document on mitigating session fixation and hijacking: http://www.acros.si/papers/session_fixation.pdf recommends "Binding the session ID... -
client certificate
Hi, I have this problem: I use windows 2003 iis6 and framework. I installed some web service with client certification required but if i ask the...



Reply With Quote

