lmenezes/cerebro

LDAPS authentication to Active Directory and certificate validation

Ouverte

#432 ouverte le 20 mars 2020

 (4 commentaires) (0 réaction) (0 personne assignée)JavaScript (734 forks)batch import
help wantedquestion

Métriques du dépôt

Stars
 (5 609 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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?

Guide contributeur