Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

ASP.NET SSL problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jack - 29 Nov 2004 20:25 GMT
hi,

i've got an ASP.NET application which call a web service over ssl channel
sending client cetificate and i got the following error:
"The underlying connection was closed: Could not establish secure channel
for SSL/TLS"

If  i use the same code in a windows application it works fine.

Do you have any idea?

thx
Dan Rogers - 29 Nov 2004 21:04 GMT
Hi Mario,

When embedding web service calls in server side applications, you will have
to manually allocate a certificate to the connection.  When you use a
client side application (win32 code running in an interactive window) you
get automatic certificate negotiation.  You will need to obtain a valid
level 3 cert for your server to allow it to make calls to secured services,
and make sure that the called application recognizes the certificate (party
and root authority) for this to work.

There are good examples of this type of coding in the WSE 2.0 SP1 toolkit
that you can download from MSDN.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
>From: "jack" <mario.perrino@accenture.com>
>Subject: ASP.NET SSL problem
[quoted text clipped - 8 lines]
>NNTP-Posting-Host: 170.252.72.1
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXS01.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP15.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26860
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 10 lines]
>
>thx
jack - 30 Nov 2004 14:11 GMT
hi Dan,

so i have to install Server Certificate also on my server?

thx

> Hi Mario,
>
[quoted text clipped - 44 lines]
> >
> >thx
Dan Rogers - 30 Nov 2004 21:31 GMT
You do need a server certificate.  This is different than Certificate
Server ...

Dan
--------------------
>Thread-Topic: ASP.NET SSL problem
>thread-index: AcTW5m1y0C2kHOF3TNyWjUZfN2+oLQ==
>X-WBNR-Posting-Host: 62.101.92.181
>From: "=?Utf-8?B?amFjaw==?=" <jack@discussions.microsoft.com>
>References:  <#2T8sDl1EHA.3236@TK2MSFTNGP15.phx.gbl>
<qVll8bl1EHA.3388@cpmsftngxa10.phx.gbl>
>Subject: RE: ASP.NET SSL problem
>Date: Tue, 30 Nov 2004 06:11:04 -0800
[quoted text clipped - 12 lines]
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26890
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 34 lines]
>> >NNTP-Posting-Host: 170.252.72.1
>> >Path:

cpmsftngxa10.phx.gbl!TK2MSFTNGXS01.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
>> .phx.gbl!TK2MSFTNGP15.phx.gbl
>> >Xref: cpmsftngxa10.phx.gbl
[quoted text clipped - 13 lines]
>> >
>> >thx

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.