Forums

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

How to solve Gitlab DVCS error

Ponnappan Ganapathiya
Contributor
February 14, 2024

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

1 answer

0 votes
Ravina
Community Champion
February 19, 2024

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.

https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-error-779355358.html

Please try and let me know in case of any issues.

Thanks

Ravina

 

Ponnappan Ganapathiya
Contributor
February 19, 2024

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.

Ravina
Community Champion
February 19, 2024

Hi @Ponnappan Ganapathiya Sure, please try and let me know how it goes.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.6
TAGS
AUG Leaders

Atlassian Community Events