Hi all,
Our AD users lost access to JIRA. It happened just abruptly.
Because we a had a working connection JIRA <-> AD.
Long ago we tuned such integration through our home made certificate using "./keytool -import" and it worked.
Yesterday I found out that "ldap.secure" parameter set to "true" I changed it to "false", restarted JIRA but still no access for AD users.
Log:
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not create DirContext instance for transaction; nested exception is org.springframework.ldap.CommunicationException: <server name>; nested exception is javax.naming.CommunicationException: <server name>: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]
So can SSL certificate expire?
And what else can be done to fix it?
Thank you.
Yes, SSL certificates expire.
You need to create a new one and import it to Jira, just as you did with the old one.
Also the certificates are stored in the trust store, which is typically cacerts located in a subdirectory the Java home directory. If you make any changes to Java, such as upgrading it, this can overwrite that trust store and you need to re-import the certs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Better yet, import the CA certificate(s) that sign the LDAP server's certificate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all, chaps
A newly generated certificate sorted that out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.