IIS Server Security - SSL - Problem connecting WebService by IP number

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > August 2007 > SSL - Problem connecting WebService by IP number





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SSL - Problem connecting WebService by IP number
Mrozik

2007-07-19, 7:19 am

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
Ken Schaefer

2007-07-22, 7:16 pm

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


Mrozik

2007-08-05, 7:15 am

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/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com