Click here to get back home

Using AD server as a ldap server and 4k bit server certificate key

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Using AD server as a ldap server and 4k bit server certificate key William 10-13-2005
Posted by William on October 13, 2005, 10:28 pm
Please log in for more thread options
Hi guys,
I am trying to use CA service on Windows 2003 Server to create a 4k bit
self-signed CA certificate and use it to sign a 4k bit AD server certificate.
Then I exported the self-signed CA certificate to the client that will use
this certificate to bind to the AD server ( as a ldap server on port:636
using SSL/TLS; the AD server is also Domain controller and Certification
Authority). However, client and server handshaking was failed. I also used
the same CA certificate to sign a 1k bit server certifivate, my client
(openssl s_client) can bind to the AD server successfully.

It appears to me that the AD server cannot handle 4k bit server certificate.
If anyone can give me light on this I would appriciate it. Thanks in advance.

William


Posted by S. Pidgorny on October 16, 2005, 5:47 pm
Please log in for more thread options
Have you tried proper elimination during the troubleshooting process, e.g.:

- using another type of client like a Windows XP workstation and any of MS
tools to bind to the LDAPs server (eliminating: openssl client issue)
- using the keys/certificate for HTTP service and openssl as well as other
clients to connect to the server (eliminating: LDAP issue)

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

> Hi guys,
> I am trying to use CA service on Windows 2003 Server to create a 4k bit
> self-signed CA certificate and use it to sign a 4k bit AD server
certificate.
> Then I exported the self-signed CA certificate to the client that will use
> this certificate to bind to the AD server ( as a ldap server on port:636
> using SSL/TLS; the AD server is also Domain controller and Certification
> Authority). However, client and server handshaking was failed. I also used
> the same CA certificate to sign a 1k bit server certifivate, my client
> (openssl s_client) can bind to the AD server successfully.
>
> It appears to me that the AD server cannot handle 4k bit server
certificate.
> If anyone can give me light on this I would appriciate it. Thanks in
advance.
>
> William




Posted by William on October 17, 2005, 1:00 am
Please log in for more thread options


"S. Pidgorny <MVP>" wrote:

> Have you tried proper elimination during the troubleshooting process, e.g.:
>
> - using another type of client like a Windows XP workstation and any of MS
> tools to bind to the LDAPs server (eliminating: openssl client issue)
> - using the keys/certificate for HTTP service and openssl as well as other
> clients to connect to the server (eliminating: LDAP issue)
>
> --
> Svyatoslav Pidgorny, MS MVP - Security, MCSE
> -= F1 is the key =-
>
> > Hi guys,
> > I am trying to use CA service on Windows 2003 Server to create a 4k bit
> > self-signed CA certificate and use it to sign a 4k bit AD server
> certificate.
> > Then I exported the self-signed CA certificate to the client that will use
> > this certificate to bind to the AD server ( as a ldap server on port:636
> > using SSL/TLS; the AD server is also Domain controller and Certification
> > Authority). However, client and server handshaking was failed. I also used
> > the same CA certificate to sign a 1k bit server certifivate, my client
> > (openssl s_client) can bind to the AD server successfully.
> >
> > It appears to me that the AD server cannot handle 4k bit server
> certificate.
> > If anyone can give me light on this I would appriciate it. Thanks in
> advance.
> >
> > William
>
>
>


Posted by William on October 17, 2005, 1:05 am
Please log in for more thread options
Hi Svyatoslav,
Thanks for your suggestions. I have tried to use openssl s_client to connect
to openldap slapd server using 4k bit CA cert and 4k bit server cert. It
works fine.
So I am now highly suspect that AD server could not handle 4k bit server
cert somehow.

You suggested to use other servers and client tools. Could you give me more
details about that. Thanks

William

"S. Pidgorny <MVP>" wrote:

> Have you tried proper elimination during the troubleshooting process, e.g.:
>
> - using another type of client like a Windows XP workstation and any of MS
> tools to bind to the LDAPs server (eliminating: openssl client issue)
> - using the keys/certificate for HTTP service and openssl as well as other
> clients to connect to the server (eliminating: LDAP issue)
>
> --
> Svyatoslav Pidgorny, MS MVP - Security, MCSE
> -= F1 is the key =-
>
> > Hi guys,
> > I am trying to use CA service on Windows 2003 Server to create a 4k bit
> > self-signed CA certificate and use it to sign a 4k bit AD server
> certificate.
> > Then I exported the self-signed CA certificate to the client that will use
> > this certificate to bind to the AD server ( as a ldap server on port:636
> > using SSL/TLS; the AD server is also Domain controller and Certification
> > Authority). However, client and server handshaking was failed. I also used
> > the same CA certificate to sign a 1k bit server certifivate, my client
> > (openssl s_client) can bind to the AD server successfully.
> >
> > It appears to me that the AD server cannot handle 4k bit server
> certificate.
> > If anyone can give me light on this I would appriciate it. Thanks in
> advance.
> >
> > William
>
>
>


Posted by S. Pidgorny on October 17, 2005, 7:52 pm
Please log in for more thread options
Ok, here's something for you to try:

* Use exising 4K cert to configure a secure site in IIS on the same server
w/LDAP. See if you can connect to the Web site using HTTPs in IE and Firefox
or Safari. That will make sure that schannel picks up the cert from computer
strore (where it should be) and can use it.
* Install Stunnel on the server and use the cert to create SSL wrapper for
LDAP. See if you can connect to the service
* Use alternative LDAP clients, like Microsoft's ADSI Edit and LDAP Browser
from Softerra (www.ldapbrowser.com) against all the servers - native LDAPs,
Stunnel-wrapped, and slapd

If the cert is in the right store and you have followed the right procedure
to enable ldaps (and the DC is listening on 636/TCP), yet all scenarios but
native support work - perhaps, there's a limitation. 1K erts are reasonable
for practical purposes though.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

> Hi Svyatoslav,
> Thanks for your suggestions. I have tried to use openssl s_client to
connect
> to openldap slapd server using 4k bit CA cert and 4k bit server cert. It
> works fine.
> So I am now highly suspect that AD server could not handle 4k bit server
> cert somehow.
>
> You suggested to use other servers and client tools. Could you give me
more
> details about that. Thanks
>
> William
>
> "S. Pidgorny <MVP>" wrote:
>
> > Have you tried proper elimination during the troubleshooting process,
e.g.:
> >
> > - using another type of client like a Windows XP workstation and any of
MS
> > tools to bind to the LDAPs server (eliminating: openssl client issue)
> > - using the keys/certificate for HTTP service and openssl as well as
other
> > clients to connect to the server (eliminating: LDAP issue)
> >
> > --
> > Svyatoslav Pidgorny, MS MVP - Security, MCSE
> > -= F1 is the key =-
> >
> > > Hi guys,
> > > I am trying to use CA service on Windows 2003 Server to create a 4k
bit
> > > self-signed CA certificate and use it to sign a 4k bit AD server
> > certificate.
> > > Then I exported the self-signed CA certificate to the client that will
use
> > > this certificate to bind to the AD server ( as a ldap server on
port:636
> > > using SSL/TLS; the AD server is also Domain controller and
Certification
> > > Authority). However, client and server handshaking was failed. I also
used
> > > the same CA certificate to sign a 1k bit server certifivate, my
client
> > > (openssl s_client) can bind to the AD server successfully.
> > >
> > > It appears to me that the AD server cannot handle 4k bit server
> > certificate.
> > > If anyone can give me light on this I would appriciate it. Thanks in
> > advance.
> > >
> > > William
> >
> >
> >




Similar ThreadsPosted
failing to retrive CRL from certificate server using new LDAP Serv August 22, 2006, 6:12 pm
no server credential/no LDAP over SSL June 17, 2005, 3:24 pm
Microsoft Server 2003 LDAP Cert and CRL access by Router November 21, 2005, 8:21 am
fail to contact windows 2003 LDAP server to retrive new CRL. August 22, 2006, 6:11 pm
Problem when requesting a certificate to IIS server (certificate web enrollment) October 4, 2005, 9:50 am
Windows server 2003 security. How to protect against 100's of invalid logons to the server?? August 12, 2005, 5:29 pm
creat a domain trust between Windows 2000 server, it show error message:"PRC server is unavailable" July 3, 2006, 3:59 pm
SP-1 to a Windows 2003 Server running SQL Server 2000 with out SP- July 5, 2005, 5:20 pm
Certificate server October 17, 2006, 9:56 pm
IAS and RAS server certificate enrollment May 16, 2008, 2:13 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap