Category:ADAM
Last Updated:2010-11-16
 
The following Microsoft FAQ page includes instructions for a configuring Certification Authority (CA) and SSL on ADAM. Search the page for the text ’SSL’ to find the Q/A section on this topic.
http://www.microsoft.com/windowsserver2003/adam/ADAMfaq.mspx
Below we have elaborated on the instructions found in this FAQ to outline the process to install the certificate, set permissions for the Service Account and test using LDP.
Question: How do I install certificates for use with ADAM and SSL?
Answer: To enable SSL-based encrypted connections to ADAM, you must have a certification authority (CA) in place to issue and manage certificates. You can set up a CA on a computer running Microsoft Windows® 2000 Server or Windows Server 2003. For more information about installing and using a CA, see the Certificate Services topic in the Windows Server 2003 Help.
The general steps for setting up SSL for ADAM are as follows:
• Install a certificate from a trusted CA onto the computer running ADAM. The certificate must be marked for server authentication. If you want to use the certificate for applications other than ADAM, you must store this certificate in the local computer certificate store. Otherwise, you can store the certificate in the ADAM service store. When you request the certificate, specify the fully qualified domain name (FDQN) of the computer on which ADAM is running as the identifying name for the certificate.
Note: If Internet Information Services (IIS) is running on the same computer as ADAM, you can verify that the certificate is properly installed by attempting an SSL connection to IIS first, before attempting an SSL connection to ADAM.
• Before you attempt to use the certificate with ADAM, you must ensure that the service account under which ADAM is running has Read access to the certificate that you installed.
Note: To determine the appropriate certificate on which to set permissions for the ADAM service account, run certutil -store my from a command prompt. The Key Container value that is shown for each certificate matches the file name of the certificate as it appears in the C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys directory.
Note: When you use LDP to make an SSL connection to ADAM, you must specify the FQDN of the computer running ADAM. FQDNs are required, according to the SSL standard.
Server: Localhost
port: enter the ldap ssl port
check the SSL box.
• To connect to ADAM from a client over SSL, the client must trust the certificate on the computer running ADAM. This trust can be achieved by adding a certificate from the CA to the Trusted Root Certification Authorities store on the client.
• Use LDP from a client to make an SSL connection to the ADAM instance.
Notes:
• When you use LDP to make an SSL connection to ADAM, you must specify the fully qualified domain name (FQDN) of the computer running ADAM. FQDNs are required, according to the SSL standard.
• On client computers running Windows XP Professional that need to establish SSL connections to an ADAM instance, you must install the hotfix that is described in article 817583, Active Directory Services Does Not Request Secure Authorization Over an SSL Connection, in the Microsoft Knowledge Base.