35.2. Configuring the Directory Server Component
To configure DS automatically using the
ldapmodify utility:
- Use
ldapmodifyto make the configuration changes for you:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart DS to load the new configuration:
systemctl restart dirsrv@EXAMPLE-COM.service
# systemctl restart dirsrv@EXAMPLE-COM.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow
To configure Directory Server (DS) manually:
- Stop DS:
systemctl stop dirsrv@EXAMPLE-COM.service
# systemctl stop dirsrv@EXAMPLE-COM.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Open the
/etc/dirsrv/slapd-EXAMPLE-COM/dse.ldiffile, and modify thecn=encryption,cn=configentry to set the following:sslVersionMin: TLS1.2
sslVersionMin: TLS1.2Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Start DS:
systemctl start dirsrv@EXAMPLE-COM.service
# systemctl start dirsrv@EXAMPLE-COM.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Important
Make sure you shut down the server first before editing the
dse.ldif file manually. DS reads this file only once at startup, therefore any manual changes while the server is running will be lost if the configuration changes through LDAP. Editing the dse.ldif file is recommended only for changes to attributes which cannot be altered dynamically.