Knowledge Articles

SSL certificate problem: self signed certificate in certificate chain

Issue: ‘: SSL certificate problem: self signed certificate in certificate chain

Description:

While clone the repos from the gitlab facing the issue with SSL Certificate problem . Even self signed certs are correct still failing to clone the repos.

$ git clone https://Udemyacemdy.devopsacademy.net/gitlab/user/module_deliveryproject.git
Cloning into ‘module_deliveryproject’…
fatal: unable to access ‘https://Udemyacemdy.devopsacademy.net/gitlab/user/module_deliveryproject.git/’: SSL certificate problem: self signed certificate in
certificate chain

Solution:

To overcome this issue we can bypass the ssl validation while clone the repos from gitlab to local.Here is the simple steps to make the command pass,

$ git -c http.sslVerify=false clone https://Udemyacemdy.devopsacademy.net/gitlab/user/module_deliveryproject.git
Cloning into ‘module_deliveryproject’…

$ git -c http.sslVerify=false clone https://Udemyacemdy.devopsacademy.net/gitlab/user/module_deliveryproject.git
 Cloning into 'module_deliveryproject'…

Tags: git,gitlab,git clone,git branch, GIt version, GIt commands,gerrit.

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.