Integración de GitLab con Jenkins: “SSL certificate problem: self signed certificate”

Al configurar la integración de GitLab con Jenkins, me ha aparecido el siguiente mensaje:

Failed to connect to repository : Command “git ls-remote -h — HEAD” returned status code 128:
stdout:  stderr: fatal: unable to access ‘’: SSL certificate problem: self signed certificate

Error Jenkins Git.

Para solventar el problema he creado en: /var/lib/jenkins (JENKINS_HOME) el fichero .gitconfig con el siguiente contenido:

[root@infman01 jenkins]# cat .gitconfig_ori
sslVerify = false

Con ello ha dejado de salir el error.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: