Re: SSL certificate problem

Scott Hannahs via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On Oct 8, 2021, at 04:57, Luigi Ernesto Zanotti <[email protected]> wrote:
> 
> Today, after a normal 'fink selfupdate', I got the following:
> 
> ~> fink update-all
> Information about 14263 packages read in 2 seconds.
> The following 2 packages will be installed or updated:
>  fftw3 fftw3-shlibs
> curl --connect-timeout 30 -f -L -A 'fink/0.45.3' -O http://distfiles.master.finkmirrors.net/distfiles/fftw-3.3.10.tar.gz <http://distfiles.master.finkmirrors.net/distfiles/fftw-3.3.10.tar.gz>
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   375  100   375    0     0    915      0 --:--:-- --:--:-- --:--:--   914
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
> curl: (60) SSL certificate problem: certificate has expired
> …
> Downloading the file "fftw-3.3.10.tar.gz" failed.
> 
> What does that mean?
> Thanks in advance and regards,
>                                                             Luigi Zanotti
> P.S.: System is Mojave 10.14.6

Luigi,

It means that the security certificate has expired and that it is not a secure connection and you might be contacting an imposter server rather than the official server for these files.  You can try downloading from the original source as an option when this fails.

I have resorted to copying the curl command above and adding a -k option which means ignore the security issue.  This will download the file to my current directory and then manually move it into /opt/sw/src.  Then fink will not need to download the file.  There is a check on the MD5 or SHA256 hash on the file as a check that I am getting a good copy.

At some point the maintainer of all these fink distribution systems will update their certificate and all will be well.

Example curl command from above and file move:

curl -k --connect-timeout 30 -f -L -A 'fink/0.45.3' -O http://distfiles.master.finkmirrors.net/distfiles/fftw-3.3.10.tar.gz <http://distfiles.master.finkmirrors.net/distfiles/fftw-3.3.10.tar.gz>
sudo mv fftw-3.3.10.tar.gz <http://distfiles.master.finkmirrors.net/distfiles/fftw-3.3.10.tar.gz> /opt/sw/src

-Scott

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.