Re: .NET App cannot connect to Apache SSL server
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 07/28/04
- Previous message: Rob Teixeira [MVP]: "Re: final word on exportable algorithms"
- In reply to: Mike: "Re: .NET App cannot connect to Apache SSL server"
- Next in thread: Eugene Mayevski [SecureBlackbox]: "Re: .NET App cannot connect to Apache SSL server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Jul 2004 20:35:57 -0500
Hotfixes are free from MS support. When I've called for one before, they
haven't even asked for credit card info, but if they do, make sure they
don't charge you.
Hope it works out.
Joe K.
"Mike" <Mike@discussions.microsoft.com> wrote in message
news:3836C45C-D3CD-4AFC-A619-FF51A3A2DBD0@microsoft.com...
> Hi Joe -
>
> Thanks for this. It turns out that the server is using TSL 1.o and .Net
don't speak it. I have to call MS and pay for a support call to get a patch
that will work :(
>
> --
> Michael Marsh
> Consultant
> Pantano Software
>
>
> "Joe Kaplan (MVP - ADSI)" wrote:
>
> > I'd suspect an SSL problem with the certificate, possibly having to do
with
> > a naming or trust issue. You might check the event log for Schannel
errors
> > that can provide more details.
> >
> > People usually get around this problem by either fixing the cert problem
or
> > configuring a custom ICertificatePolicy class that overrides the
response to
> > the error you are getting and allows the operation to proceed. There is
a
> > nice sample in the Framework SDK reference for ICertificatePolicy.
> >
> > Joe K.
> >
> > "Mike" <Mike@discussions.microsoft.com> wrote in message
> > news:A7FBB338-EACB-43CE-8D73-63FBB756D7A6@microsoft.com...
> > > 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
> >
> >
> >
- Previous message: Rob Teixeira [MVP]: "Re: final word on exportable algorithms"
- In reply to: Mike: "Re: .NET App cannot connect to Apache SSL server"
- Next in thread: Eugene Mayevski [SecureBlackbox]: "Re: .NET App cannot connect to Apache SSL server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|