Ask a Question related to ASP.NET Security, Design and Development.
-
DotNetJunkies User #1
403 Error -forbidden
Hi,
I am trying to make a call from a web service to an external site which uses SSL. I have a certificate given to us in .p12 format and have done the following:
1. Exported the certificate to a DER encoded .CER file without exporting the private keys.
2. Imported the certificate into the Trusted root CA' store of the LocalComputer
3. I have used X509Certificate.CreateFromCertFile() to create a X509Certificate object from the .CER file
4. Added the certificate to the HttpWebRequest using HttpRequest.ClientCertificates.Add(cert)
5. When I try to retrieve the response using (HttpWebRequest)HttpRequest.GetResponse(), I get the following error:
The remote server returned an error: (403) Forbidden.
Any idea what this means and how I can get past it?
Thanks,
Arun
---
Posted using Wimdows.net NntpNews Component -
Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
DotNetJunkies User Guest
-
ERROR 403 "Forbidden"
Hello ... thankX for help! Situation: New user ... Installed Contribute 3, connected to my web site. Created a new home page index file and... -
forbidden
A neighbor was going to build my web page for me, but has become too busy. He created the template with the main menu and has shown me how to... -
The remote server returned an error: 403 Forbidden
Hi Joe, Can you tell me how to setup the private key that you were talking about? I having the same error as Arun. Any direction will be... -
IIS: SUSAdmin: Forbidden error 403
I have installed SUS1.0 w/SP1 and I am trying to access the SUSadmin. I get an error 403 telling me access is forbidden. I have set the... -
Forbidden Deployment?
Hello. I have built a web service and C# client to access, which work correctly when the client is launched from visual studio. Now I tried to...



Reply With Quote

