[MacPorts] #62596: aom @3.0.0: Failed to fetch aom: Git clone failed -- self signed certificate in certificate chain
MacPorts
noreply at macports.org
Sat Apr 3 20:19:25 UTC 2021
#62596: aom @3.0.0: Failed to fetch aom: Git clone failed -- self signed
certificate in certificate chain
---------------------+---------------------------------
Reporter: RobK88 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: lion
Port: aom |
---------------------+---------------------------------
Comment (by RobK88):
Yes Marcus go ahead and close the ticket.
P.S. For those reading this ticket in the future, I have a self signed
cert used for my SSL Proxy server stored in Apple's keychain. It is set
as trusted for all users.
As a result, "git clone" works fine on the command line. But for some
reason Macports does not like the self signed cert. The workaround is
simply to disable the SSL proxy and run Macports. Once you are finished,
enable the SSL Proxy server again. Not a great workaround.
I did not try to add the self signed cert to the git cert store since I do
not think that the issue is with git. And I do not even know if git uses
its own cert store on the Mac platform. I could not find it! "git config
--list --show-origin" returns nothing.
See
https://mattferderer.com/fix-git-self-signed-certificate-in-certificate-
chain-on-windows
https://stackoverflow.com/questions/23807313/adding-self-signed-ssl-
certificate-without-disabling-authority-signed-ones
http://blog.majcica.com/2016/12/27/installing-self-signed-certificates-
into-git-cert-store/
--
Ticket URL: <https://trac.macports.org/ticket/62596#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list