Skip to content

Instantly share code, notes, and snippets.

@Filirom1
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Filirom1/985454f17e407de506d9 to your computer and use it in GitHub Desktop.
Save Filirom1/985454f17e407de506d9 to your computer and use it in GitHub Desktop.
BASE dc=example,dc=com
URI ldaps://ldap-master.example.com:636
TLS_REQCERT never
TLS_CACERT /etc/openldap/cacerts/cacert.crt
TLS_CACERTDIR /etc/openldap/certs

$ openssl s_client -connect server:636 -showcerts

$ ldapsearch -x -H "ldaps://server:636" -D 'uid=$UUID,dc=example,dc=com' -W

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment