-
Notifications
You must be signed in to change notification settings - Fork 4
Error message: SSL certificate expired #28
Comments
Thanks @thatslifescience I've just noticed this yesterday. I've reached out to BHL |
This is a global problem with many servers right now due to a major CA root cert being expired that turned out to be still used on many servers. See details e.g. here https://calnetweb.berkeley.edu/calnet-technologists/incommon-sectigo-certificate-service/addtrust-external-root-expiration-may-2020 Recent browsers and TLS libraries already have a workaround for this problem, so they are not affected, but some older versions are. As a workaround until the server has updated their certs, you can build the R curl package from source against libcurl from homebrew:
And then in R: install.packages("curl", type = "source") And then it should work. |
worked for me, @thatslifescience let us know if the solution above works |
It's still not working, but it could be that I'm not following the code correctly in my Mac terminal. I successfully downloaded homebrew, installed curl through brew, and ran the command line for the PKG_CONFIG_PATH. When opening R in terminal, I get the following error message:
I've tried installing the package in RStudio after running the command lines in terminal, still doesn't work. I also tried directly in R console and I get a new error message:
Is there a way to download the package using homebrew in RStudio? |
@thatslifescience are you using the official R from cran ? Also make sure you install xquartz as described on that page. |
Whoops, I was using terminal. I downloaded xquartz and I'm using official R from CRAN. In xquartz I followed jeroen's steps, but when I try to install curl I'm now getting this message:
I then tried the code below, which worked, but I'm assuming this did the opposite of building the package locally (and it the bhl search still didn't work): Just to be clear, once the package is installed, I'm doing the following to check if it worked:
|
@thatslifescience still having the problem? |
I have used this solution four times now, several months apart, on three different computers running different OSX versions and it works every time. I just want to say thanks for posting it!!! |
When trying to conduct searches using the rbhl package, I'm getting the following error message:
Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) :
SSL certificate problem: certificate has expired
I've set my API key in .Renviron. This error message came up after using bhl_namesearch(). Is this a problem on my end? Thanks!
Session Info
The text was updated successfully, but these errors were encountered: