skip to Main Content
[sandipXXX@server applications]$ git clone https://github.com/sandipbhuyan/myblog.git
Cloning into 'myblog'...
fatal: unable to access 'https://github.com/sandipbhuyan/myblog.git/': Problem with the SSL CA cert (path? access rights?)

While i am trying to clone a git repository from git it is always showing this message i tried this

git config http.sslverify false

but the same is happening

2

Answers


  1. Pending the exact resolution of this certificate issue, you can at least try and switch to SSH:

    git clone [email protected]:sandipbhuyan/myblog.git
    

    Provided you generated a public/private SSH key (no need for a passphrase for now) and registered your public key to your account.

    Login or Signup to reply.
  2. I solved this problem (Ubuntu 18.04) with three steps:

    (1) reset the ssl verification to be true:

    git config --global http.sslVerify true
    

    (2) reinstall ca-certificates:

    sudo apt-get install ca-certificates
    

    (3) modify the .gitconfig file:

    cd ~/
    vim .gitconfig
    #(change two lines of the ".gitconfig" contents as below)
    sslVerify = true
    sslCAinfo = /etc/ssl/certs/ca-certificates.crt
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search