In Visual Studio I'm trying to pull some changes from the repository on GitLab, but it gives me an error:
Git failed with a fatal error.
unable to accesshttps://gitlab...git/
: SSL certificate problem: certificate has expired*
How can I generate a new certificate and add it to VS? I don't have any experience with GitLab.
The only solution to this problem is to get your host to update the root certificate on your server. So, you need to contact your server host and ask them to insert a new cacert.
When pushing, pulling, or cloning, Git cannot verify your SSL certification, which leads to the error. A valid HTTPS handshake requires both the client and the server to create a secure connection, allowing for safe communication between your local machine and where the source code is hosted.
New Async Technical Certification Option We're now bundling together the three main components you need to earn the GitLab Certified Associate certification asynchronously: A self-study eLearning preparation course, a certification knowledge exam, and a graded hands-on exam you complete in a GitLab sandbox environment.
For instance, the trusted certificate store directory for Git Bash is C:\Program Files\Git\mingw64\ssl\certs.
There's a quick fix you can run in the command line:
git config --global http.sslVerify "false"
The solution was found in the following article.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With