Unable to set up client certificate, error 403.7
From: David Carr (David_Carr_at_NoSpamCanada.Com)
Date: 05/03/05
- Previous message: fordguy0699: "Re: IIS 6.0 W3SVC1 Logfile"
- Next in thread: Ken Schaefer: "Re: Unable to set up client certificate, error 403.7"
- Reply: Ken Schaefer: "Re: Unable to set up client certificate, error 403.7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 2 May 2005 16:46:33 -0700
Hi,
I am trying to set up a simple test case, following verbatim MS's tutorial
"How To Set Up Client Certificates".
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod31.asp
Unfortunately I am not having success.
My configuration is as follows; IIS is run on my Windows 2000 Professional
(NOT server) developer machine, and the client is viewing the simple
WebForm1.aspx which extracts the username and tests whether the request had
a client certificate. The client is a Win2K box running IE6. Neither of
these machines are in a domain.
private void Page_Load(object sender, System.EventArgs e)
{
string username;
username = User.Identity.Name;
if (username.Length <= 0)
username = "User.Identity.Name is blank";
lblMessage.Text = "Welcome " + username;
HttpClientCertificate cert = Request.ClientCertificate;
if (cert.IsPresent)
certData.Text = "Client certificate retrieved";
else
certData.Text = "No client certificate yet";
}
The Client Certificate was requested from a Windows 2000 Server (different
box than my box where IIS and the code above is run). This server is
running Certificate Services as a Stand Alone CA.
When IIS is configured to simply "Accept client certificates", the
User.Identity.Name is blank and there is no client certificate. When IIS is
changed to "Require client certificates", I receive an error HTTP 403.7
stateing that "the page requires a client certificate".
This problem seems identical to that discussed ("Client certificate
problem") and unresolved by Felix Planjer/Miha Pihler/brik on 2004.Dec.14 in
this newsgroup.
http://groups.google.ca/groups?selm=unwTLRc4EHA.3388%40TK2MSFTNGP15.phx.gbl
Unfortunately their thread was never terminated with a resolution.
Any help would be much appreciated. Best regards,
David
- Previous message: fordguy0699: "Re: IIS 6.0 W3SVC1 Logfile"
- Next in thread: Ken Schaefer: "Re: Unable to set up client certificate, error 403.7"
- Reply: Ken Schaefer: "Re: Unable to set up client certificate, error 403.7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|