The underlying connection was closed: Could not establish trust relationship with remote server

R

Randy

Hello,
I've got a Windows client app which hits a web service. The web service
works fine unless I'm outside the firewall using a VPN connection. I know my
VPN connection is working fine because I can ping machines and hit web pages
on the internal network.
With my VPN connection up and running when I try and hit the web service
through C# with a...

stream = new StringReader(webSrv.MyService(query));

I get an exception which is...

"The underlying connection was closed: Could not establish trust
relationship with remote server."

Does anyone know what might be causing this problem?

Thanks to All :)
 
D

David Lloyd

Randy:

Is your VPN using SSL?

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


Hello,
I've got a Windows client app which hits a web service. The web service
works fine unless I'm outside the firewall using a VPN connection. I know my
VPN connection is working fine because I can ping machines and hit web pages
on the internal network.
With my VPN connection up and running when I try and hit the web service
through C# with a...

stream = new StringReader(webSrv.MyService(query));

I get an exception which is...

"The underlying connection was closed: Could not establish trust
relationship with remote server."

Does anyone know what might be causing this problem?

Thanks to All :)
 

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

Top