After upgrading your Enforce Server, the secure LDAP (LDAPS) Directory Connection longer works. Upon further investigation it was determined that the upgrader replaces the CACERTS keystore file in the "...Program Files\AdoptOpenJRE\jdk8u<version>-jre\lib\security\" directory. Any secure connection from Enforce to Active Directory fails as there is no longer an entry in the CACERTS file.
org.springframework.transaction.CannotCreateTransactionException: Could not create DirContext instance for transaction; nested exception is org.springframework.ldap.CommunicationException: simple bind failed: ldaps.<yourcompanydomain.com>:3269; nested exception is javax.naming.CommunicationException: simple bind failed: ldaps.
<yourcompanydomain.com>
:3269 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
DLP 15.x
The upgrader replaces the CACerts with a default one from the updated version of Java.
This does not include any CAs or Certs you might have imported previously.
Although it is possible to copy over the previous CACerts file from a prior version, it is not recommended - a prior copy may retain custom CAs but will also retain possilbly outdated CAs that may expire or be less secure than more recent releases. The change to OpenJDK from Oracle JRE also changed some of the CAs in use in the latest release (15.8).
Therefore, instead of backing up of the CACERTS keystore, you can follow the steps outlined in TECH234490 to re-import the required certificates into Enforce.
Old instruction to replace with old CACerts if an immediate fix is essential to your business operations:
Note that the path in step 2 above is for an install using the default "ServerJRE" for 15.7 and earlier. DLP 15.8 uses OpenJDK, however, and so the path is different.