When I try to make connection between Gitlab Selfmanaged instance with Jira, received the following error. Is that something I need to work on Gitlab side?
Error!
Oauth flow failed to complete: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Hi @Ponnappan Ganapathiya This error occurs when attempting to access applications or websites that are encrypted with SSL (for example HTTPS, LDAPS, IMAPS) throws an exception and the connection is refused.
When applications communicates through HTTPS protocol it will only be able to connect to applications it can trust and Jira's Java will only trust certificates that are signed by one of those CAs or public certificates that exist within that Jira's truststore.
Here you can import the Gitlab's CA certs to Jira's JAVA keystore (cacerts) so that Jira will consider Gitlab as a trusted site for communicating the data between Jira and Gitlab.
Before importing the Gitlab's certificate to a SSLPoke test to confirm if the issue is related to certificate or something else, if test was not successful then you can try importing the Gitlab's public certs into Jira's trust store, please check the below document and check the Resolution section for the possible resolutions for this connectivity issue.
Please try and let me know in case of any issues.
Thanks
Ravina
Hi Ravina,
Thanks for the reply.
Yes, There might possible of Certificate issues. It seems the certification for Gitlab is changed recently. Let me validate in cacerts and fix it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.