Re: Client Certificate Authentication With HTTS POST (.NET 2.0)



The problem is theat the default ASP.NET account can't see your certificate.
This explains what you need to do I think.

http://msdn2.microsoft.com/en-us/library/aa302408.aspx

Alternatively, I have done this in the past by making the call from a
serviced component instead.

Regards,


Andy Kendall.


"DerekJMiller1" <DerekJMiller1@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7D6B17E4-FF6B-4123-AB06-071F7BEBB348@xxxxxxxxxxxxxxxx
We are having an issue with using a client certificate for authentication
on
an HTTPS POST using WebClient related classes.

We are getting the certificate from the protected certificate store. This
seems to work OK, but the certificate is not presented as a valid
certificate
to IIS at the other end (it doesn't get past IIS's certificate checks -
using
Require Client Certificate).

If we turn off require client certificate, it gets to our code, but no
certificate is in the request.

It appears that somewhere in the guts of HTTPRequest, the certificate is
not
transmitted over the wire (correctly?).

Note that even when using SOAP web services, we still have this issue.


If anybody can point us to some sample code demonstrating how to use a
client certificate for an HTTP post or any other assistance, it would be
appreciated.


Thanks
--
Derek


.



Relevant Pages

  • Re: Active Directory Federation Services
    ... How do I get a Microsoft CA to issue me a client cert? ... option for client certificate. ... There is a user certificate, ... I'm not an FSP expert by any means, but I might be able to help here. ...
    (microsoft.public.windows.server.active_directory)
  • Re: SSL client certificate authentication
    ... The list is populated by IE based on the list of root CA certs that the IIS ... > 2> When I install the microsoft certificate services, ... > client certificate is installed in the client machine and gets stored ... > * In the Anonymous access and authentication control section, ...
    (microsoft.public.win2000.security)
  • SSL client certificate authentication
    ... I tried out doing the SSL client certificate authentication in the ... 2> When I install the microsoft certificate services, ...
    (microsoft.public.win2000.security)
  • Re: Windows Mobile + https + clientcertificates?
    ... the Crypto APIs returned the correct certificate? ... client certificate for which you have an associated private key. ... have an HTTP status of 500, internal server error, and no results). ...
    (microsoft.public.windowsce.app.development)
  • Certificate Trust List
    ... EventID 36885 is registered when a user presents a client certificate. ... Patch the server from Windows Update including refreshing trusted root ... Install a client certificate issued by the CA from step 4 to IE6. ... On the server the following event is recorded in the System Log: ...
    (microsoft.public.inetserver.iis.security)

Quantcast