https protocol error when upgrading from R 3.6 to > R 4.0

Around 2018, I installed RStudio Server (free, not pro edition) with R 3.6.0 on a CentOS server following the instructions found here: (

Everything has been working great with no issues. Recently, I've needed to upgrade the version of R, and have installed R 4.0.0 following the instructions here: (

After installation, package installation on command line or in the RStudio IDE gives the following error:

Protocol "https" not supported or disabled in libcurl

Within the IDE I'm able to bypass this most of the time by going to Tools > Global Options > Packages and unchecking "Use secure download method for HTTP." Or, I select a mirror that does not have https next to the name (IDE or command line). However, I haven't found a way to bypass this problem when using functions like remotes::install_github().

I have updated cURL on the server to no avail.

Any help would be appreciated. Please let me know what additional information I can include, as I'm not sure where to start.

Hi @rrodgers,
Welcome to the RStudio Community Forum.

news() reports that "The minimum required version of libcurl is now 7.28.0 " for R-4.0.0
Check your setup by running libcurlVersion() .

This output will also show which protocols are supported. Maybe your cURL version is not recent enough?

Thank you for the help @DavoWW . I checked libcurlVersion() which returned:

[1] "7.47.0"
[1] "none"
[1] ""
[1] "dict" "file" "ftp" "gopher" "http" "imap" "pop3" "rtsp"
[9] "smtp" "telnet" "tftp"

So I can see https isn't listed in the protocols. The CentOS 7 version of curl (located in /usr/bin/curl) is 7.73.0 and does have https listed in its protocols. How can I point R to this version of curl?