Re: LDAPS



If there are no schannel errors in the event log but SSL/LDAP is not
working, then that is pretty weird. I've never seen that.

Are you sure the DNS name of the DC matches the DNS name of the certificate
stored in the cert's CN? Still, even if the issue was a name mismatch, that
should show up as an schannel error in the event log, so I'm confused.

Also, what happens if you try this from a different machine other than the
DC?

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
--
"ODG" <ODG@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7FF951D5-C20B-4F7E-9BB0-F3F9C743CC11@xxxxxxxxxxxxxxxx
I'm running ldp.exe on the domain controller itself.
The certificate is installed from a trusted server (Microsoft cert server)
that has a root certificate installed on all clients in AD via group
policy.
The certificate on the domain controller is a "server authentication"
certificate instaled in the local store. THE CRL is in the trusted root
store
(is this incorrect)?
How do i ensure that the CRL is available?
There are no secure channel errors in the event logs.

Sorry for some of the return questions but I'm quite new to certificate
services.

Thanks,

ODG

"Joe Kaplan" wrote:

Look for errors from schannel in the System event log on the client
machine
that cannot connect. It usually tells what the problem is.

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
--
"jx" <mc@xxxxxxxxxxx> wrote in message
news:eMBhFA1AHHA.1196@xxxxxxxxxxxxxxxxxxxxxxx
Well, there are couple of thing to look at. First does the client trust
the CA that issued the cert? Meaning that have published the CTL of the
CA
(atleast on the DCs etc)? Secondly, is the CA CRL available for the
clients to access. Third, is the certificate you issued matches the
requirement for LDAPS? Can you verify that the certificate and CTL are
installed on the DCs local cert store?
HTH

"ODG" <ODG@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C16FA043-8E4A-4C3F-909B-9F842319B0A3@xxxxxxxxxxxxxxxx
I have been trying to setup LDAPS on my domain controllers to allow an
AD
password reset option from a Juniper SSL box to access AD.

I have followed the following article
http://support.microsoft.com/kb/321051
and installed the certificate and used LDP.exe to try to connect to
636
on
the domain controller but only receive the following error:

ld = ldap_sslinit("myserverver.FQDN", 636, 1);
Error <0x0> = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION,
LDAP_VERSION3);
Error <0x51> = ldap_connect(hLdap, NULL);
Server error: <empty>
Error <0x51>: Fail to connect to myserverver.FQDN

I have used netstat -a and can see that the DC is listening on port
636
so
am not sure why it's not allowing me to connect.

I'm sure I'm missing something quite straight forward but cannot see
what.

Any help would be gratefully received.

Thanks,

ODG







.



Relevant Pages

  • Re: Trusted connection problem
    ... whether a given site's certificate will be trusted by a given client machine ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.security)
  • Re: ADAM - Self SSL?
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... I did the following after installing the CA: ... certificate, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Do i need to got Https:// throught the website ???
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... I believe that one of these Certification's (SEI-CMM Level 5 Certificate, ... more then 20 website which are dynamic and used by the same users. ...
    (microsoft.public.dotnet.security)
  • Re: ADAM & SSL connect over SSL
    ... then computer store is a better idea. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... I installed a p7b certificate on the client machine in the current user ...
    (microsoft.public.windows.server.active_directory)
  • Re: CAPICOM problem with .NET 2.0
    ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... The code worked well in Framework 1.1 ... ICertificate2 selectedCert = null; ... //search for the certificate with the digital signature ...
    (microsoft.public.dotnet.security)