Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira and LDAPs Multi Domain

Florian_Schmutz March 9, 2020

Hi

In case of the upcomming Microsoft Patch which is disabling the LDAP and enabling LDAPs by default we need to change our User LDAP Connection of our jira.

We have now the Problem that one of the Domains is working with ldaps and the other not.

Here ist the Error MSG:

***************************************************************************************
Verbindungstest fehlgeschlagen. Antwort vom Server:
DC1.DOMAIN2.local:636; nested exception is javax.naming.CommunicationException: DC1.DOMAIN2.locall:636 [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]
***************************************************************************************

We have added the Cert of the DC1.DOMAIN2.local the same way as for the DC1.DOMAIN1.local

***************************************************************************************
keytool -importcert -keystore "C:\Program Files\Atlassian\Confluence\jre\lib\security\cacerts" -file DC1.DOMAIN2.local.cer
***************************************************************************************

In Case of the upper Error we added additionaly the Root CA of the Domain B to the cerststore

***************************************************************************************
keytool -import -trustcacerts -alias DC1.DOMAIN2.local -file root-ca.cer -keystore "C:\Program Files\Atlassian\Confluence\jre\lib\security\cacerts"
***************************************************************************************

More Informations:

Jira and confluence is installed on a windows 2k12r2 Server in the Domain1
On the Jira are 2 LDAP Query Configured Pointing to DC1.DOMAIN1.local and DC1.DOMAIN2.local over Port 636
The SSL checkbox is on.

The Query is working over LDAP. So the whole  AD query User and the LDAP Path  is working.

In Domain1 and Domain2 are AD Integrated CAs installed and the DC's has taken a cert of them.

The Jira and the Domain Controllers were booted multiples times.
The LDP.exe is connecting to DC1.DOMAIN1.local and DC1.DOMAIN2.local sucessfully.

0 answers

Suggest an answer

Log in or Sign up to answer