SSL Conflict Issue on Jenkins for Gitlab Repo

Hello Team,

I’m facing the SSL Conflict Issue on Jenkins Pipeline Job while adding the Gitlab Repo. PFA attached the screenshot.

I’m able to use git commands lke git clone on Jenkins Server from console, but through pipline job it’s shows me SSL Error.

Jenkins is already configured to trust the self signed certificate i.e. The Gitlab Cert is already imported into both trustred toot directory and Java Keystore directory of Jenkins Server

/etc/pki/ca-trust/source/anchors/

sudo keytool -importcert -trustcacerts -keystore /usr/lib/jvm/java-11-openjdk/lib/security/cacerts -storepass changeit -noprompt -alias gitlab-cert -file /etc/pki/ca-trust/source/anchors/<cert.pem>

Add on, If I fire echo | openssl s_client -connect gitlab.yourdomain.com:443 -showcerts on jenkins server console it shows me correct the gitlab cert But issue is still remain.

Looking forwared for your repsonce

Thanks

Rahul

@poddingue Any Thoughts? Thanks.