JNDI and LDAPS (TLS/SSL)#
Working with SSL is often difficult and complex.
Before running this sample, you must get the CA Certificate and store the certificate in a keystore that then needs to be referenced in the code.
This How To uses a keystore that is created in a specific location for storing the certificates.
This How To uses a keystore that is created in a specific location for storing the certificates.
View Example code#
We have moved the Using LDAPS With JNDI Example and other JNDI Examples to our Code repository