Joe
Wed Aug 20 09:14:31 PDT 2008
Normal certificate chain verification requires that the host name in the
certificate match the name specified to access the server. The default is
to fail the request if they don't match. They won't if you use the IP
address.
Depending on what API you are using, you may be able to override this policy
and essentially ignore the error. That's usually not a good idea though.
Why use the IP address? DNS is your friend. :)
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"yashmitl" <yashmitl@discussions.microsoft.com> wrote in message
news:0B8B8B58-D02E-4E58-B93B-87096B9AC991@microsoft.com...
>I have an application on windows system in DMZ which talks to AD server and
> authenticates user. I have opened up a LDAPS port 636 to do that. IF I use
> Hostname of domain controller then it works fine. I have opened up a port
> 636
> on the firewall.
>
> If I try to use IP Address instead of Hostname and try to use some port
> and
> forward it to AD server on 636, it does not work.
>
> Please help.