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

MacPorts noreply at macports.org
Thu Jan 28 12:31:29 PST 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
 Keywords:          |       Port:
--------------------+--------------------------------
 I'm running OS X 10.11.3 and have both Apple's `/usr/bin/git` (version
 2.5.4) and MacPort's `/opt/local/bin/git` (version 2.7.0) installed.

 I can use both git clients to clone the ansible git repository:

 {{{
 $ /usr/bin/git clone https://github.com/ansible/ansible.git
 Cloning into 'ansible'...
 remote: Counting objects: 107584, done.
 remote: Compressing objects: 100% (70/70), done.
 remote: Total 107584 (delta 35), reused 0 (delta 0), pack-reused 107506
 Receiving objects: 100% (107584/107584), 37.61 MiB | 935.00 KiB/s, done.
 Resolving deltas: 100% (64374/64374), done.
 Checking connectivity... done.
 }}}

 {{{
 $ /opt/local/bin/git clone https://github.com/ansible/ansible.git
 Cloning into 'ansible'...
 remote: Counting objects: 107584, done.
 remote: Compressing objects: 100% (70/70), done.
 remote: Total 107584 (delta 35), reused 0 (delta 0), pack-reused 107506
 Receiving objects: 100% (107584/107584), 37.61 MiB | 591.00 KiB/s, done.
 Resolving deltas: 100% (64374/64374), done.
 Checking connectivity... done.
 }}}

 However, when I try to install the ansible port I get the following error:

 {{{
 :info:fetch fatal: unable to access
 'https://github.com/ansible/ansible.git/': SSL certificate problem:
 Couldn't understand the server certificate format
 :info:fetch Command failed: /usr/bin/git clone -q
 https://github.com/ansible/ansible.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_ansible/ansible/work/ansible-2.0.0.2-1
 2>&1
 :info:fetch Exit code: 128
 :error:fetch org.macports.fetch for port ansible returned: Git clone
 failed
 :debug:fetch Error code: NONE
 :debug:fetch Backtrace: Git clone failed
     while executing
 "gitfetch"
     (procedure "portfetch::fetch_main" line 14)
     invoked from within
 "portfetch::fetch_main org.macports.fetch"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 }}}

 I have attached the full log. How can I proceed to solve this issue?

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


More information about the macports-tickets mailing list