<div dir="ltr"><div>Robert, it looks like you might be seeing this Let's Encrypt known problem:</div><div><a href="https://trac.macports.org/wiki/ProblemHotlist#letsencrypt">https://trac.macports.org/wiki/ProblemHotlist#letsencrypt</a><br></div><div><br></div><div>If so, the best solution is not to replace /usr/bin/git, but to ask Codeberg owners to remove the expired certificate as described in that article. Note the special instructions for Mac OS 10.13/10.14.</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 6:04 AM Robert Kennedy <<a href="mailto:amtor@hotmail.com">amtor@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="msg-2911097643706006297">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks Joshua. That was exactly what was needed.<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<code>Perhaps a ticket should be created recommending that <code>"git.cmd"</code> be added to the MacPorts Guide.</code></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Rob<br>
</div>
<div id="m_-2911097643706006297appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-2911097643706006297divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Joshua Root <<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>><br>
<b>Sent:</b> May 17, 2023 4:47 AM<br>
<b>To:</b> Robert Kennedy <<a href="mailto:amtor@hotmail.com" target="_blank">amtor@hotmail.com</a>>; MacPorts Development <<a href="mailto:macports-dev@lists.macports.org" target="_blank">macports-dev@lists.macports.org</a>><br>
<b>Subject:</b> Re: Problem fetching with git in MacPorts</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>On 17/5/2023 07:44, Robert Kennedy wrote:<br>
> I am unable to fetch a file in a git repo using MacPorts. I get an SSL <br>
> expired error.<br>
> <br>
> fatal: unable to access<br>
> '<a href="https://codeberg.org/schilytools/schilytools.git/" target="_blank">https://codeberg.org/schilytools/schilytools.git/</a>': *SSL<br>
> certificate problem: certificate has expired*<br>
> *Command failed: /usr/bin/git clone* --progress --depth=1<br>
> <a href="https://codeberg.org/schilytools/schilytools.git" target="_blank">https://codeberg.org/schilytools/schilytools.git</a><br>
> /opt/local/var/macports/build/_Users_grinch_Development_MacPorts_local-repo_ports_devel_smake/smake/work/schilytools-2023-04-19 2>&<br>
> Exit code: 128<br>
> <br>
> Please note that MacPorts is trying to use "*/usr/bin/git*" which is <br>
> OLD. I can fetch the archive in the Terminal using the recent version <br>
> of git installed by MacPorts at "*/opt/local/bin/git*".<br>
> <br>
> "*/opt/local/bin/git*" is also in my $PATH. When I run "*which git*", I <br>
> get "*/opt/local/bin/git*".<br>
> <br>
> If there a config setting in MacPorts to tell it to use git located at <br>
> "/opt/local/bin/git"?<br>
<br>
The Portfile option is 'git.cmd'.<br>
<br>
- Josh<br>
</div>
</span></font></div>
</div>
</div></blockquote></div></div>