Open iAMSagar44 opened 4 months ago
Hi there! The only way I've found to initiate the connection using LDAPS with is to have the CA certificate already installed in the system (not configured by Java/Spring). In the code base I show this example when running the app as ldaps
profile. In that case, the CA certificate was already installed in the system when the docker container was started.
With the TLS profile, the ldap url is connecting to a non-ssl port. The client communication is initiated un-encrypted.
Is there a way to use ldaps and initiate the connection on a ssl port and then start the TLS mechanism using the DefaultTlsDirContextAuthenticationStrategy class (basically using the code in TLSConfig.class).
I tried this and I get a failure as follows during start up.