The problem with that approach is that the shinyapps package does not get installed on your application instances when you deploy your application because the shinyapps package itself is not a detected dependency of your code.
To workaround this you should put the CAfile in your application directory and reference it via its relative path e.g:
RCurlOptions cainfo = "cacert.pem"
Or you could incude the CAcert file in Rbitcoin package, as we have done in shinyapps:
RCurlOptions cainfo = system.file("cert", "cacert.pem", package = "Rbitcoin")
However, the underlying issue is that the CACert shipping with RCurl is out of date. My other suggestion would be to reach out to the RCurl package maintainer and see if he will update it, and push a new version to CRAN.
-Andy