I have a very noob problem with my Raspberry Pi 3b (all updated to latest stable version available). I want to use it to automate some scripts I've written in R that run smoothly on my Win10 machine under R 3.4.3 within RStudio. As I move to the command line of the RPi, I get an error concerning certificates when R tries to download some file from the philadelphiafed.org website. This error reads
Error in download.file("https://www.philadelphiafed.org/-/media/research-and-data/real-time-center/greenbook-data/documentation/gbweb_row_format.xls?la=en", : cannot download all files
Calls: source -> withVisible -> eval -> eval -> download.file
In addition: Warning message:
In download.file("https://www.philadelphiafed.org/-/media/research-and-data/real-time-center/greenbook-data/documentation/gbweb_row_format.xls?la=en", : URL 'https://www.philadelphiafed.org/-/media/research-and-data/real-time-center/greenbook-data/documentation/gbweb_row_format.xls?la=en':
status was 'Peer certificate cannot be authenticated with given CA certificates'
Given that the problem concerns CA certificates, I verified those that the Philly Fed site uses, it turns out I need to install the Entrusted L1K certificate I found here so to solve this issue. The noob question is then how do I install these certificates and tell the RPi to include them in its library? Any help is much appreciated!