Today almost everything on the internet is protected by SSL or signed certificates, that's when we see the famous and usual https... but what happens when these depend on a file that is on your PC and is expired worldwide?
This case applies to old operating systems that use git, such as embedded linux or old but functional cell phones. In these, the error “certificate verification failed. CAfile“. Here we show you how to solve this easily:
The most valid example would be that sometimes, we have to access the git repositories through SSL and the server only provides a self-signed certificate.
Unfortunately we can't spend time on configuration so just ignore SSL verification altogether.
Option 1: Prefix GIT_SSL_NO_VERIFY=true before running each git command to bypass SSL verification. This is particularly useful if you haven't checked out the repository yet.
Option 2: Configure running git config http.sslVerify false to disable SSL verification temporarily or forever.
No hay comentarios.:
Publicar un comentario
no stupid winbuntu users allowed!