ASP.NET SSL problem

J

jack

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
 
D

Dan Rogers

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
--------------------
 
D

Dan Rogers

You do need a server certificate. This is different than Certificate
Server ...

Dan
--------------------
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top