#43172: distfiles are not being mirrored ------------------------------+------------------------- Reporter: Peter_Dyballa@… | Owner: skarulkar@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: | ------------------------------+------------------------- Comment (by egall@…): Replying to [comment:8 nad@…]:
On 10.5 Leopard, it looks like MacPorts base uses the system `curl` to download packages. Its certificate bundle is in `/usr/share/curl` and was last updated in 2007. What worked for me was to replace it with a copy of the MacPorts one assuming you have the `curl` port installed:
{{{ sudo sh cd /usr/share/curl cp -p curl-ca-bundle.crt curl-ca-bundle-out-of-date-system-backup.crt cp -p /opt/local/share/curl/curl-ca-bundle.crt . exit }}}
Your mileage may vary!
I was running into this issue on my PureDarwin vm the other day, because PureDarwin is based off of 10.5 Leopard, so it has the same system `curl` and curl certificate bundle ^(the bundle may look like it is newer, but that is only because the vm image was built more recently)^, and I can confirm that the fix mentioned here worked on that vm, too. -- Ticket URL: <https://trac.macports.org/ticket/43172#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X