lmenezes/cerebro

LDAPS authentication to Active Directory and certificate validation

オープン

#432 opened on 2020/03/20

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (734 件のフォーク)batch import
help wantedquestion

Repository metrics

Stars
 (5,609 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド