Home > git > SSL certificate problem: Invalid certificate chain

SSL certificate problem: Invalid certificate chain

Problem:

When trying to clone a repo I get the following error:

$ git clone https://user@organisation.org/path/to/repo/application.git
Cloning into 'application'...
fatal: unable to access 'https://user@organisation.org/path/to/repo/application.git/': SSL certificate problem: Invalid certificate chain

Solution:
As I was using a self generated ssl key

$ git config --global http.sslVerify false

Then tried again.

$ git clone http://user@organisation.org/path/to/repo/application.git
Cloning into 'application'...
Username for 'https://organisation.org': user
Password for 'https://user@organisation.org':
remote: Counting objects: 1397, done.
remote: Compressing objects: 100% (1034/1034), done.
remote: Total 1397 (delta 823), reused 164 (delta 98)
Receiving objects: 100% (1397/1397), 193.55 KiB | 43.00 KiB/s, done.
Resolving deltas: 100% (823/823), done.
Checking connectivity... done.

Source:
http://stackoverflow.com/questions/23331325/git-ssl-certificate-invalid-certificate-chain-while-accessing#25000465

Advertisements
Categories: git Tags:
  1. Romina
    April 11, 2017 at 5:18 pm

    Gracias!
    Me solucinó el error

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s