During the configuration of LDAP and LDAPs with DSM, it fails with errors below:
LDAP config failed with error:
admission webhook "directoryservices.infrastructure.dataservices.vmware.com" denied the request: invalid ldap server url: 'ldap://xxxx-xxxx.com:636': 'ldap' is an invalid scheme. schema must be ldaps
LDAPS config failed with error:
Certificate for the server ldaps://xxxx-xxxx.com:636 should be self-signed or issuer CA certificate should be added to the Trusted Root Certificates.
DMS 2.0
For DSM services, LDAP is unsupported.
The error is indicating that we should be using LDAP over SSL (LDAPs)
When we use LDAPS, it would verify the certificate and certificates chain.
If the Certificate is not CA signed or Self signed, it would report an error should be self-signed or issuer CA certificate should be added to the Trusted Root Certificates.
Note:
Fix the certificate chain and make sure to use either self signed or CA signed certificate.
Verify that if its a self signed certificate, the certificate has the CA signed flag associated with it. If not, please work with certificate provider and regenerate the certificate with the CA flag.