Error msg when doing client-side authentication
From: David Martin (fredit_at_charter.net)
Date: 10/09/05
- Next message: charles_at_charlesforsyth.com: "IE prompts for password, even though Forms Authentication is used"
- Previous message: Scott Elgram: "Re: Integrated Authentication with SQL"
- Next in thread: Mfenetre: "Re: Error msg when doing client-side authentication"
- Reply: Mfenetre: "Re: Error msg when doing client-side authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 8 Oct 2005 19:51:01 -0400
Hi,
I am trying to make a request from a web service to an external
site which uses https. I have a certificate (.p12 format) from them. I
have performed the following steps:
1. Exported the certificate to DER encoded .CER file.
2. Imported the certificate into the Trusted Root CA of the local
computer
3. Used X509Certificate.CreateFromCertFile() to create a
X509Certificate object from the .CER file.
4. Added this certificate to the HttpWebRequest using
httpRequest.ClientCertificates.Add(cert);
5. When I try to retrieve the response using
httpRequest.GetResponse(), I get the following error:
"The remote server returned an error: (403) Forbidden."
Any idea what this means and how to get past it? I have a feeling that
the certificate is not being sent to the external site.
Any help will be highly appreciated.
(This post was posted a long time ago.. but never got an answer)
- Next message: charles_at_charlesforsyth.com: "IE prompts for password, even though Forms Authentication is used"
- Previous message: Scott Elgram: "Re: Integrated Authentication with SQL"
- Next in thread: Mfenetre: "Re: Error msg when doing client-side authentication"
- Reply: Mfenetre: "Re: Error msg when doing client-side authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|