Update INSTALL.md

This commit is contained in:
Marisa 2025-11-12 11:05:42 -05:00
parent 9b0ea80c4b
commit 960870bcd1

View File

@ -341,6 +341,16 @@ root@example:/etc/ldap/certs# ldapwhoami -x -H ldaps://example.com
``` ```
Both should return Anonymous. Both should return Anonymous.
Another example to try STARTTLS/ldap it is working:
```
openssl s_client -connect 127.0.0.1:389 -starttls ldap -servername example.com -quiet
```
SSL/ldaps
```
openssl s_client -connect example.com:636 -servername example.com -quiet
```
Both will show the connection to the openLDAP server showing the CN(dc=example,dc=com)
To connect to the server via `STARTTLS`, use port 389, to connect to the server via `SSL`, use port 636, both auth method Simple. To connect to the server via `STARTTLS`, use port 389, to connect to the server via `SSL`, use port 636, both auth method Simple.
If asked, accept the certificate as with any certificate, or copy the CA file that resides inside ldapdock from out of the container to our host system certificate trust directory (/usr/local/share/ca-certificates/ works for any Debian based distribution): If asked, accept the certificate as with any certificate, or copy the CA file that resides inside ldapdock from out of the container to our host system certificate trust directory (/usr/local/share/ca-certificates/ works for any Debian based distribution):
``` ```