Error SSL from Github

When I tried of using the following command:

# git clone https://github.com/FraGoTe/crud-minix-users.git

I got the following error:

error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/FraGoTe/crud-minix-users.git

For solving this error when I use clone, push or pull I put the next env before the git command:

e.g.
# env GIT_SSL_NO_VERIFY=true git clone https://github.com/FraGoTe/crud-minix-users.git
# env GIT_SSL_NO_VERIFY=true git pull origin master
# env GIT_SSL_NO_VERIFY=true git push origin master

Anuncios