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/')
On a Mac at least (but I know for a fact not necessarily on other OSes) I get: > Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) : > SSL certificate problem: certificate has expired Parenthetically, this also happened with R itself awhile back where an intermediate cert on the search path had expired, not the cert of the service itself, and depending on which implementation of ssl was used, it either ignored it or threw an error, as in this case. Someone I am working with on another OS can indeed run the same command, so if your particular OS may not have an issue Anyhow, for a problem a I am working on I need to access this server with that and related commands. 'rerddap::info()' allows me to pass curl options, and normally with Curl you can get around the expired certificate using the '-k' or '--insecure' option. When I look at: > curl::curl_options() I do not see this option. I do not understand all the options listed there, so maybe that option is in a different form that I am missing. Or is there another way around this still using 'curl' . Using another function that does similar to 'curl' is not an option, because I need the 'rerddap::info()' call which calls a package called "crul" which ultimately calls 'curl'. Thanks, -Roy PS - And yes I informed the owner of the site about the expired certificate, that was a couple of weeks ago. ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected" "the arc of the moral universe is long, but it bends toward justice" -MLK Jr. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.