"Could not establish trust relationship with remote server" error

  • Thread starter Thread starter Olex Malko
  • Start date Start date
O

Olex Malko

I have a library that reads web page and returns it like a string.
I use "WebRequest" class to get text of page from "https://..." URI. I set
credentials and proxy.

Everything works fine and page can be downloaded when I use my library in
console application.

But... When I use my library in ASP.NET application then I get exception
with text "Could not establish trust relationship with remote server".

What should I change to succesed?

Thank you!
 
I have a library that reads web page and returns it like a string.
I use "WebRequest" class to get text of page from "https://..." URI. I set
credentials and proxy.

Everything works fine and page can be downloaded when I use my library in
console application.

But... When I use my library in ASP.NET application then I get exception
with text "Could not establish trust relationship with remote server".

What should I change to succesed?

This should help you:
http://www.f5.com/f5products/iControl/developer/techTips/Microsoft_NetSSL.
html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top