Can not clone git repo to server

I’m running the same command on 2 different servers. One works, the other doesn’t.

I’m running
git clone

  • Git configuration - still ask username and password
  • Github: Push changes from one repo to another
  • Moved local git folder and now its asking to stage most of my project files?
  • Name or service not known
  • git-annex use a file from a different location
  • How to determine if a remote git repo is “safe” to pull from
  • On server A, it works fine. I get the objects, files, etc. no problems.

    On server B, I get the following message.

    git clone
    Cloning into 'blah'...
    error: Peer certificate cannot be authenticated with known CA certificates while accessing
    fatal: HTTP request failed

    Does anyone know what this means or what I need to do to get this to work? Thanks in advance for any help you can give me.

  • Gitolite asking for git ssh password on localhost
  • Putting git hooks into repository
  • Using svn/git with Xcode
  • How to search history of a repo?
  • Pushing over SSH to a GIT repository with Xcode 4.6
  • Git man page seems incorrect
  • One Solution collect form web for “Can not clone git repo to server”

    Here is a question covering trusting a self-signed certificate. This is the proper way to fix the issue assuming you are using a self-signed cert.

    This question covers ignoring a certificate, however, depending on which method you use, this could result in ignoring all certificates, which would make communicating with your git server insecure, and is therefore a quick solution, but not a good solution. If you take this route, I would recommend at least using the per-repository setting (git config http.sslVerify false) instead of applying it more broadly in order to minimize the severe negative impact of this method.

    Git Baby is a git and github fan, let's start git clone.