SSL Gitlab Jira integration failure

Hello Community,

My current set up is CentOS 7 and has Nginx as the reverse proxy for https. Gitlab/Jira are installed on the machine like normal and uses nginx on port 443. I have nginx deployed in a docker container. Everything is working as it should, we can reach Gitlab and Jira no problem with HTTPS.

My problem is when I try to integrate Gitlab with Jira, I get
"Test failed. SSL_connect returned=1 errno=0 state=error: certificate verify failed ".

The certificate being used for nginx is .pem, and has been added to /etc/gitlab/trusted-certs, after running sudo gitlab-ctl reconfigure and test, doesn’t fix.

I have tried to also add the full contents of the nginx .pem cert into the bottom of the cacert.pem file found in /opt/gitlab/embedded/ssl/certs, but no luck as well.

I was wondering if anyone had ideas on how to solve, haven’t had much luck finding others in a similar situation as mine. Thank you in advance. Please let me know if anything needs clarifying.

Try to check your Jira website with openssl s_client.