Adding LDAP configurations
You can add Lightweight Directory Access Protocol (LDAP) directories, SSL-enabled and non-SSL-enabled, to your Cloud Pak for Business Automation production deployments at any time.
About this task
To configure multiple LDAPs, you need to create a secret for each LDAP, re-create the LDAP bind secret, and update the Identity Management (IM) service. The following example shows the custom resource (CR) format for two LDAP configurations. The configuration parameter names and the ID values must be unique.
ldap_configuration:
ldap_configuration_<ldap_id1>:
lc_ldap_id: <ldap_id1>
ldap_configuration_<ldap_id2>:
lc_ldap_id: <ldap_id2>
For more information, see LDAP configuration.
If you want to enable SSL, then you need to create a separate secret for each LDAP. The LDAP certificates must be stored in the propertyfile/cert/ldap folder on the client where you connect to the cluster. The following paths show two certificates in the ldap folder. The ldap2-cert.crt file is the certificate for a new SSL-enabled LDAP.
/opt/ibm-cp-automation/scripts/cp4ba-prerequisites/project/<namespace>/propertyfile/cert/ldap/ldap-cert.crt
/opt/ibm-cp-automation/scripts/cp4ba-prerequisites/project/<namespace>/propertyfile/cert/ldap/ldap2-cert.crt