From edd at debian.org  Mon Mar 27 20:33:39 2017
From: edd at debian.org (Dirk Eddelbuettel)
Date: Mon, 27 Mar 2017 13:33:39 -0500
Subject: [Rd] R fails to read repo index on NGINX
In-Reply-To: <EDD04CD16EC1524FACF04CF343DAB49428692AC5@smmb1.rand.org>
References: <EDD04CD16EC1524FACF04CF343DAB49428692944@smmb1.rand.org>
	<22745.21978.217320.875223@max.eddelbuettel.com>
	<EDD04CD16EC1524FACF04CF343DAB49428692AC5@smmb1.rand.org>
Message-ID: <22745.23299.880135.337732@max.eddelbuettel.com>


On 27 March 2017 at 18:27, Roman, John wrote:
| Thank you for your elaboration.  This issue is related to curl trusting a CA cert as its called by R.  
| curl called from bash recognizes the system cert bundle for CA's, curl called from R does not.
| 
| may I know how to trust the system certificate bundle from within R?

See 'help(download.file)' -- it's a little hidden but you can just make the
external curl (which, as you say, works in your particular circumstances) the
default for remote file access from R too.

Next time please try to be a little more specific with your questions and
their subject line.  Methinks nothing here has anything to do with the httpd
server you employ.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] R fails to read repo index on NGINX
Dirk Eddelbuettel