User Tools

Site Tools


doc:appunti:linux:sa:sldap_2_5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:sldap_2_5 [2023/12/02 12:29] – [(Re)installation from scratch] niccolodoc:appunti:linux:sa:sldap_2_5 [2023/12/02 12:31] (current) – [Enable SSL] niccolo
Line 45: Line 45:
 ===== Enable SSL ===== ===== Enable SSL =====
  
-Create a self signed certificate or get it from some provider, like **[[Let's Encrypt]]**. Copy the files into **/etc/ldap/ssl/** and give them permissions for the //openldap// user.+Create a self signed certificate or get it from some provider, like **[[https://letsencrypt.org/|Let's Encrypt]]**. Copy the files into **/etc/ldap/ssl/** and give them permissions for the //openldap// user.
  
 Create the following file **config-ssl.ldif**: Create the following file **config-ssl.ldif**:
Line 67: Line 67:
 ldapmodify -Y EXTERNAL -H ldapi:/// -f config-ssl.ldif ldapmodify -Y EXTERNAL -H ldapi:/// -f config-ssl.ldif
 </code> </code>
 +
 +Enable ldaps into **/etc/default/slapd**:
 +
 +<file>
 +SLAPD_SERVICES="ldap:/// ldapi:/// ldaps:///"
 +</file>
 +
 +Restart the slapd service.
  
 ===== Adding a second (new) database ===== ===== Adding a second (new) database =====
doc/appunti/linux/sa/sldap_2_5.1701516559.txt.gz · Last modified: 2023/12/02 12:29 by niccolo