.NET App cannot connect to Apache SSL server

From: Mike (Mike_at_discussions.microsoft.com)
Date: 07/27/04


Date: Tue, 27 Jul 2004 10:01:44 -0700

Hello All -

I have a small app that is trying to access an SSL/TLS server that's running Apache on Unix. I get "The underlying connection was closed: could not establish a secure connection for SSL/TLS." The code is:

.
.
.
 string myURL = "https://some.apache.web.server/some.wsdl/";

 WebRequest webreq;
 WebResponse webres;

 try
 {
  webreq = WebRequest.Create(myURL);
  webres = webreq.GetResponse();
 }
 catch(Exception exc)
 {
  richTextBoxWSDL.Text += exc.Message;
  return;
 }
.
.
.

Any suggestions? I can get to the server and the WSDL from IE and FireFox.

Mike

-- 
Michael Marsh
Consultant
Pantano Software


Relevant Pages

  • sending data to another server
    ... WebRequest webreq; ... WebResponse webres; ... StreamReader sReader = new ... string strData = sReader.ReadToEnd; ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: sending data to another server
    ... WebRequest webreq; ... WebResponse webres; ... StreamReader sReader = new ... string strData = sReader.ReadToEnd; ...
    (microsoft.public.dotnet.framework.aspnet)