Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: PowerTCP problem using a .Net WebService proxy
rcairns@momentumsoftware.com
rcairns@momentumsoftware.com

From: Austin, TX USA
Posts: 1
Member Since: 03/24/03
posted March 24, 2003 12:28 PM

I'm getting the following error message when trying to connect a .Net web service proxy (not using asp.net) to a secure connection. 

The code I'm using works for unsecure communication here is what has changed for the secure version...

e.Tcp.Stream = new SegmentedStream(new SslStream(new TcpStream(e.Tcp)));
e.Tcp.Certificate = sslServer.Certificate;
connect(sender, e, _sslPort);

Any ideas?

Thanks!
-Ryan

The underlying connection was closed: Could not establish secure channel for SSL/TLS.
  at System.Net.HttpWebRequest.CheckFinalStatus()
  at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
  at System.Net.HttpWebRequest.GetRequestStream()
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted March 24, 2003 4:39 PM

Hi,
Please see my direct response.
Thanks,
ken
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX