I encountered this error message when I tried to install TinyTex
in R.
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
I’m using macOS (10.14.6).
This gave me quite a headache for quite a long time. Fortunately, I finally found a solution here .
To repeat:
- open your Terminal and enter
open -a Finder /etc/ssl/
. As Bri Bri suggested , renamecert.pem
to something else. - Go to https://curl.se/docs/caextract.html
and download the latest
cacert.pem
. - Rename it to
cert.pem
and drag it into the/etc/ssl/
folder.
Last modified on 2021-11-27