[MacPorts] #50469: Git clone fails - SSL certificate problem: Couldn't understand the server certificate format

MacPorts noreply at macports.org
Fri May 13 02:56:40 PDT 2016


#50469: Git clone fails - SSL certificate problem: Couldn't understand the server
certificate format
---------------------+--------------------------------
  Reporter:  nils@…  |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.3.4
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------

Comment (by nhoj.patrick@…):

 I've got 2 installations of git, I assume the native mac git from apple,
 plus also the one via mac ports.

 I've tried as my regular user and as root.

 All 4 combinations work, and successfully clone the repo which port
 "install" reports as failing.

 So I assume this is an issue with port specific code and how it's setup's
 the environment/shell prior to it's clone.

 {{{
 john$ which git
 /opt/local/bin/git
 john$ git clone https://github.com/ansible/ansible.git/ ansible-0
 Cloning into 'ansible-0'...
 remote: Counting objects: 119091, done.
 remote: Compressing objects: 100% (75/75), done.
 remote: Total 119091 (delta 35), reused 1 (delta 1), pack-reused 119004
 Receiving objects: 100% (119091/119091), 36.06 MiB | 630.00 KiB/s, done.
 Resolving deltas: 100% (73428/73428), done.
 Checking connectivity... done.
 john$ /usr/bin/git clone https://github.com/ansible/ansible.git/ ansible-1
 Cloning into 'ansible-1'...
 remote: Counting objects: 119091, done.
 remote: Compressing objects: 100% (75/75), done.
 remote: Total 119091 (delta 35), reused 1 (delta 1), pack-reused 119004
 Receiving objects: 100% (119091/119091), 36.06 MiB | 303.00 KiB/s, done.
 Resolving deltas: 100% (73428/73428), done.
 Checking connectivity... done.
 john$ sudo su -
 Password:
 root# which git
 /usr/bin/git
 root# git clone https://github.com/ansible/ansible.git/ ansible-2
 Cloning into 'ansible-2'...
 remote: Counting objects: 119091, done.
 remote: Compressing objects: 100% (75/75), done.
 remote: Total 119091 (delta 35), reused 1 (delta 1), pack-reused 119004
 Receiving objects: 100% (119091/119091), 36.06 MiB | 698.00 KiB/s, done.
 Resolving deltas: 100% (73428/73428), done.
 Checking connectivity... done.
 root# /opt/local/bin/git clone https://github.com/ansible/ansible.git/
 ansible-3
 Cloning into 'ansible-3'...
 remote: Counting objects: 119091, done.
 remote: Compressing objects: 100% (75/75), done.
 remote: Total 119091 (delta 35), reused 1 (delta 1), pack-reused 119004
 Receiving objects: 100% (119091/119091), 36.06 MiB | 357.00 KiB/s, done.
 Resolving deltas: 100% (73428/73428), done.
 Checking connectivity... done.
 root#
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50469#comment:22>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list