Global Trusted Pipeline Libraries issue (SSL certificate problem: unable to get local issuer certificate)

We are using a Jenkins istance (v 2.504.2) containeraized on Openshift and we are facing some issues when it comes to theadding the Global Trusted Pipeline Libraries. We are getting the error:
"hudson.plugins.git.GitException: Command “git ls-remote -h – “link-to-the-repo.git” returned status code 128:
stdout:
stderr: fatal: unable to access ‘link-to-the-repo.git’: SSL certificate problem: unable to get local issuer certificate”

Certs were added to a CA and properly linked to the Jenkins istance on Openshift

Which CA did you add the certificates? You need them in the OS itself (e.g. /etc/ssl/certs or where the specific distribution wants to have it) so command line git can find them and in the truststore of the jvm in case jgit is used.

I’ve added it to a CA-bundle in a ConfigMap, which the pod refer to to start