LDAPS authentication to Active Directory and certificate validation
#432 opened on Mar 20, 2020
Description
We are configuring Cerebro to autheticate users by LDAP on Active directory, but authetication fails with: Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
we tried to disable certification validation with these parameters in application.conf: play.ws.ssl.loose.allowWeakCiphers = true play.ws.ssl.loose.allowWeakProtocols = true play.ws.ssl.loose.acceptAnyCertificate = true play.ws.ssl.loose.disableHostnameVerification = true
Cerebro continues to check certificate and fails authentcation.
we tried to debug problem by play.ws.ssl.debug.all = true but cerebro fails to start
Any idea?