[R] curl options?

Rasmus Liland jr@| @end|ng |rom po@teo@no
Sat Jul 25 11:44:29 CEST 2020


On 2020-07-24 13:34 -0700, Roy Mendelssohn - NOAA Federal wrote:
| On Jul 24, 2020, at 1:21 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn using noaa.gov> wrote:
| | On Jul 23, 2020, at 4:20 PM, Rasmus Liland <jral using posteo.no> wrote:
| | | On 2020-07-23 14:56 -0700, Roy Mendelssohn - NOAA Federal via R-help wrote:
| | | | I am trying to get the following command to work:
| | | | 
| | | | > sshInfo <- rerddap::info('hawaii_soest_f75b_adc6_12ab', url = 'https://apdrc.soest.hawaii.edu/erddap/') 
| | | 
| | | Perhaps setting
| | | 
| | | 	options("ssl_verifyhost"=0, "ssl_verifypeer"=0) 
| | | 
| | | helps? [1]
| | | 
| | | [1] https://stackoverflow.com/questions/47715918/how-to-pass-the-curl-insecure-alternative-when-using-r
| | 
| | Thank you very much.  That indeed 
| | did work,  more specifically as (to 
| | include solution for the record):
| | 
| | > sshInfo <- rerddap::info('hawaii_soest_f75b_adc6_12ab', url = 'https://apdrc.soest.hawaii.edu/erddap/', ssl_verifyhost=0, ssl_verifypeer=0)

Hey, I'm glad this solved your issue!

| | | Have you checked the time on the 
| | | laptop being correct and not set 
| | | to e.g. 1970-01-01 01:29?  In the 
| | | past, I have found ssl errors are 
| | | caused by the time being off on my 
| | | laptop, as in the case of a flat 
| | | cmos battery.
| | 
| | BTW - my clock and date are fine, 
| | the reason it works on some systems 
| | has to do with the SSL library being 
| | used, whether openSSL or libreSSL.  
| | And as I said,  similar happened to 
| | R itself for a very short time.  I 
| | can't find the references to the 
| | email exchange,  but Simon Urbanek 
| | gave a very nice explanation of why 
| | this was happening.  I also wonder 
| | whether it really is desirable to 
| | ignore an expired Cert in the Cert 
| | search path.  Not particularly 
| | knowledgeable on this,  but my 
| | offhand feeling is that could lead 
| | to problems.
| | 
| | Thanks again for the solution!
| | 
| | -Roy
| 
| Found it.  On June 9,  in the 
| R-developers mail-list,  a chain under 
| the topic "SSL certificate issues".
| 
| -Roy

Perhaps it's this[*] one.  OpenSSL is 
really crusty and simply a mistake, thus 
I have heard, I hope LibreSSL or 
something else can replace it at some 
point, not just in MacOS and OpenBSD ... 

Best,
Rasmus

[*] https://stat.ethz.ch/pipermail/r-devel/2020-June/079664.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20200725/2b6d0959/attachment.sig>


More information about the R-help mailing list