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

MacPorts noreply at macports.org
Sat Nov 19 19:40:14 CET 2016


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

Comment (by ken-cunningham-webuse):

 so I just tried this on 10.6.8, using an installed version of git at
 /usr/bin/git that is older now (2011)
 {{{

 $ /usr/bin/git --version
 git version 1.7.5.4
 }}}

 and it works fine
 {{{

 DEBUG: Executing org.macports.fetch (ansible)
 DEBUG: Executing: /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_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.1.2.0-1
 2>&1
 DEBUG: Executing
 GIT_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.1.2.0-1/.git
 GIT_WORK_TREE=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.1.2.0-1
 /usr/bin/git checkout -q v2.1.2.0-1 2>&1
 DEBUG: Executing proc-post-org.macports.fetch-fetch-0
 Submodule 'lib/ansible/modules/core' (https://github.com/ansible/ansible-
 modules-core) registered for path 'lib/ansible/modules/core'
 Submodule 'lib/ansible/modules/extras' (https://github.com/ansible
 /ansible-modules-extras) registered for path 'lib/ansible/modules/extras'
 Cloning into
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.1.2.0-1/lib/ansible/modules/core'...
 Cloning into
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_ansible/ansible/work/ansible-2.1.2.0-1/lib/ansible/modules/extras'...
 Submodule path 'lib/ansible/modules/core': checked out
 '17ee1cfaf960d99bd3fee7631f86b1013957ec70'
 Submodule path 'lib/ansible/modules/extras': checked out
 'd312f34d9bbb722bf13314102d7373f1bd82e433'
 }}}

 I notice you have macports installed in your home directory, so my guess
 is it is a permissions problem (macports would be running git as the
 macports user most likely).

 So I would try either working out the chain of permissions (ugh), or
 installing macports in /opt/something  (like /opt/local) or in
 /Users/Shared or somewhere where the permissions issue wouldn't be a
 problem.
 -- hope this is helpful - K

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



More information about the macports-tickets mailing list