Re: Client Certificates: The request failed with HTTP status 403: Forbidden.

Tech-Archive recommends: Fix windows errors by optimizing your registry



"karlag92" <karlag92@xxxxxxxxxxx> wrote in message news:1182883482.471587.11660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
....
Since the I can call this from the browser, I assume my server config
is ok. It has to something with how I'm dealing with the certificate
in the code.

It may have _something_ to do with you are dealing with the certificate, but it may not be what you think. The way to find out is to use a network monitor of some kind to find out what's happening on the wire.

Also, please tell us how you have configured IIS and ASP.NET as far as handling certificates. I would want to be certain of whether it is IIS that is giving you this error, or ASP.NET.

Have you looked at the certificate that is retrieved by your GetCertificate call? Are you sure that it's valid and that it's identical to the certificate being used from the browser?

Is it possible that the certificate isn't what's being used from the browser, but instead your Windows credentials?
--
John Saunders [MVP]

.



Relevant Pages