Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASPNET Process Problem 1

Status
Not open for further replies.

RealQuiet

Programmer
Feb 11, 2001
54
US
I have a web application that must send a request to a web site via SSL with a client certificate.
I have written the code for this, but I get an error saying that a trust relationship could not be established. If I put the same code in a Windows app, it works great.
I have done some reading, and it appears problem is becasue the ASP.Net process doesn't have access to the certificate, and I need to run the code from under the same user that installed the certificate (which is why my WinApp works).
I can put the code in a service and run it under that user, but I don't know how to call the method from my asp application. Any help is much appreciated!
 
Update - I have tried temporarily giving the ASPNET user permissions to log in, and installed the certificate under that user. I also tried changing the user that the asp.net processes run under. I still get the "Unable to establish a trust relationship with the remote server" error.
 
Thanks, RealQuiet for posting the answer.

Good stuff. :)
penny1.gif
penny1.gif

The answer to getting answered -- faq855-2992
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top