Hello Pratik Savla,
Thank you for posting in Microsoft Community forum.
Please check if you can connect to AD using ldp.exe on Domain Controller.
On Domain Controller, open ldp.exe.
Click Connection and select Connect.
https://answers-afd.microsoft.com/static/images/image-not-found.jpgI am sorry, I'm not familiar with Java. However, you can check some suggestions below.
Here's some steps you can take to troubleshoot:
1.Ensure Java version and patches: Make sure you are running the latest version of Java 17 and that all patches and security updates have been applied. There might be updates related to LDAP and SSL/TLS handling.
2.Enable Extended Protection for Authentication (EPA): If you have not done so already, you will need to enable Extended Protection for Authentication (EPA) in your application. This typically involves configuring your Java environment to support CBT.
3.Java Configuration Changes:
- Ensure that your Java application is configured to use SSL/TLS properly.
- You might need to set some specific system properties related to SSL/TLS. For example, you may need to disable certain older protocols and enable newer ones:
4.Review Microsoft Documentation: Microsoft's documentation about LDAP channel binding tokens and LDAP signing requirements can provide additional insights. Make sure that your configurations align with the recommended settings for both the server and the client:
How to enable LDAP signing - Windows Server | Microsoft Learn
5.Use Proper Truststore/Keystore: Ensure that your Java application has the proper truststore and keystore configuration to trust the certificates being used by the LDAP server. This is crucial for SSL/TLS connections.
6.Debugging and Logging:
- Enable detailed logging for the LDAP connection in your Java application. This can help you see what is happening during the handshake and connection phases.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zho