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

MacPorts noreply at macports.org
Sun Jan 31 09:25: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
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------

Comment (by nils@…):

 It seems the `SSL certificate problem: Couldn't understand the server
 certificate format` error I'm getting comes from `curl` as I found it in
 the curl source code, but using `curl` directly for requests to github.com
 also seems to work fine:


 {{{
 $ curl -vi https://github.com/ansible/ansible.git
 *   Trying 192.30.252.129...
 * Connected to github.com (192.30.252.129) port 443 (#0)
 * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
 * Server certificate: github.com
 * Server certificate: DigiCert SHA2 Extended Validation Server CA
 * Server certificate: DigiCert High Assurance EV Root CA
 > GET /ansible/ansible.git HTTP/1.1
 > Host: github.com
 > User-Agent: curl/7.43.0
 > Accept: */*
 >
 < HTTP/1.1 301 Moved Permanently
 HTTP/1.1 301 Moved Permanently
 < Server: GitHub.com
 Server: GitHub.com
 < Date: Sun, 31 Jan 2016 17:25:40 GMT
 Date: Sun, 31 Jan 2016 17:25:40 GMT
 < Content-Type: text/html
 Content-Type: text/html
 < Content-Length: 178
 Content-Length: 178
 < Location: https://github.com/ansible/ansible
 Location: https://github.com/ansible/ansible
 < Vary: Accept-Encoding
 Vary: Accept-Encoding
 < X-Served-By: 362482c1f05726391203e2d2c32818a4
 X-Served-By: 362482c1f05726391203e2d2c32818a4
 < X-GitHub-Request-Id: 4DAC817E:1607:656AA4A:56AE4394
 X-GitHub-Request-Id: 4DAC817E:1607:656AA4A:56AE4394
 < X-Frame-Options: DENY
 X-Frame-Options: DENY

 <
 <html>
 <head><title>301 Moved Permanently</title></head>
 <body bgcolor="white">
 <center><h1>301 Moved Permanently</h1></center>
 <hr><center>nginx</center>
 </body>
 </html>
 * Connection #0 to host github.com left intact
 }}}

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


More information about the macports-tickets mailing list