Click here to Skip to main content
16,016,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a client application which make a request to server page. Code below:
C#
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://testpage.aspx");
req.Method = "POST";
req.ClientCertificates.Add(clientcert);
req.ContentLength = 0;

testpage.aspx is a page on the web server and needs to get the certificate sent with the request (i.e. clientcert) and validate it against another one on the active directory.

I tried using Request.ClientCertificate but it is empty.

Please help! Thanks!
Posted
Updated 4-May-11 23:09pm
v2
Comments
Sandeep Mewara 5-May-11 5:09am    
Wrapping code part in PRE tags makes the question readable. Use it next time onwards.

1 solution

Try solution mentioned here : http://support.microsoft.com/kb/823177[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900