RStudio Cloud problem with SSL certificate trust


I’m having problems with a package using curl to export data from our REDCap server.

The error is:

Error in curl::curl_fetch_memory(url, handle = handle) : 
  server certificate verification failed. CAfile: none CRLfile: none

I understand this may be due to RStudio Cloud not trusting the REDCap server’s SSL certificate. I believe the cert might be self-signed by my University, so the error is quite reasonable.

I’ve tried setting CURLOPT_SSL_VERIFYHOST = 2 following the main function’s instructions, but the error stays the same.

Is there a way to manually add this cert/self-signing CA to the trusted authorities in my RStudio Cloud instance?


edit: the cert is not self-signed:

Server certificate
subject=C = IT, postalCode = 43121, ST = Parma, L = Parma, street = Via Universit\C3\A0 12,
O = Universit\C3\A0 degli Studi di Parma, CN =

issuer=C = NL, O = GEANT Vereniging, CN = GEANT OV RSA CA 4

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.