Issue or symptom
When binding to an Mac OS X Server version 10.4.x or 10.5.x via the
"Encrypt using SSL" option, Directory Utility may return a message that
states:
"Unable to add server. [server name or IP address] does not support
directory connections encrypted with SSL.".
Solution
-
On the Open Directory Master create a self-signed certificate. Make
sure that the certificate's common name matches the fully qualified
domain name (FQDN, such as "www.example.com") of the server.
- On the client, open Terminal and use the following command to
obtain the certificate from the master:
openssl s_client -connect myServerName:636
- Copy the lines starting from "-----BEGIN CERTIFICATE-----" up to
and including the "-----END CERTIFICATE-----" line.
- Using these
guidelines, create a file on the desktop named "mycert".
- Paste the information you copied in step 3 into the file.
- Execute the following command Terminal:
sudo mv ~/Desktop/mycert /etc/openldap/
- Edit /etc/openldap/ldap.conf.
- Under the line "TLS_REQCERT demand" add "TLS_CACERT
/etc/openldap/mycert".
- Restart the client.
- Open Directory Utility and bind to the LDAP server using SSL.