LDAPs Simple Authentication on Tomcat 9

Apologies I stopped working on this piece for a while. Started again this week

Problem cause: The latest Java Runtime Environment has SSLv3 disabled by default. So my application was making use of SSLv3, which is why it was failing to authenticate on LDAPS. Following the recommended steps below didn't work either

  • Open {JRE_HOME}\lib\security\java.security -file in text editor.
  • Delete or comment out the following line "jdk.tls.disabledAlgorithms=SSLv3"

Solution: I had to switch to using the Amazon Corretto 8 JDK, this resolved the problem. I also had to remove the SSLv3 from the "jdk.tls.disabledAlgorithms" in the java.security file.