Using the command line

You can configure the security settings using commands at command line.

About this task

To use the command line to configure SSL communications, issue the command:
idsldapmodify -D <adminDN> -w <adminPW> -i <filename>
where <filename> contains:
dn: cn=SSL,cn=Configuration
changetype: modify
replace: ibm-slapdSslAuth
ibm-slapdSslAuth: {serverAuth | serverClientAuth}
-
replace: ibm-slapdSecurity
ibm-slapdSecurity: {none | SSL | SSlOnly | TLS | SSLTLS}
User must provide the required permissions on the file for the instance owner for which the key database files will be used, and also must restart the server and the administration server for the changes to take effect.