SSL - Problem connecting WebService by IP number
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > SSL - Problem connecting WebService by IP number




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SSL - Problem connecting WebService by IP number  
Mrozik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-07 12:19 PM

Hi!
I have strange situation after deploing WebService
in client environment. WebService is written in .NET 2.0,
resides on separate site (Win 2003) and is secured by SSL.

And when client applications try to connect using
IP number (https://192.168.100.100:8892/Service.asmx)
I get strange error "System.Net.WebException: The underlying connection
was closed: An unexpected error occurred on a send. --->
System.IO.IOException: The handshake failed due to an unexpected packet
format."
- on most machines, but on 2 machines connecting goes OK.

But when I connect using host name (https://host:8892/Service.asmx)
everything works OK...

Why connecting by IP can cause an error? Where to search for a reason?

Regards

Mrozik





[ Post a follow-up to this message ]



    Re: SSL - Problem connecting WebService by IP number  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-23-07 12:16 AM

What is the "common name" (cn property) of the certificate? If the cn has
the "host name" then you'd get an error connecting by IP address (the
address youare connecting to does not match the address embedded in the
certificate)

Cheers
Ken


"Mrozik" <mrozik.p@interia.pl> wrote in message
news:op.tvpdmiucy3yzc4@n1054.mshome.net...
> Hi!
> I have strange situation after deploing WebService
> in client environment. WebService is written in .NET 2.0,
> resides on separate site (Win 2003) and is secured by SSL.
>
> And when client applications try to connect using
> IP number (https://192.168.100.100:8892/Service.asmx)
> I get strange error "System.Net.WebException: The underlying connection
> was closed: An unexpected error occurred on a send. --->
> System.IO.IOException: The handshake failed due to an unexpected packet
> format."
> - on most machines, but on 2 machines connecting goes OK.
>
> But when I connect using host name (https://host:8892/Service.asmx)
> everything works OK...
>
> Why connecting by IP can cause an error? Where to search for a reason?
>
> Regards
>
> Mrozik






[ Post a follow-up to this message ]



    Re: SSL - Problem connecting WebService by IP number  
Mrozik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-07 12:15 PM

On Mon, 23 Jul 2007 01:51:47 +0200, Ken Schaefer
<kenREMOVE@THISadOpenStatic.com> wrote:

> What is the "common name" (cn property) of the certificate? If the cn
> has the "host name" then you'd get an error connecting by IP address
> (the address youare connecting to does not match the address embedded in
> the certificate)

Why application installed on 2 machines can connect by IP?

What should be common name of certificate to enable communicating
by IP - different from host name?

regards

Mrozik


>
> Cheers
> Ken
>
>
> "Mrozik" <mrozik.p@interia.pl> wrote in message
> news:op.tvpdmiucy3yzc4@n1054.mshome.net... 
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:33 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register