Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CertGetCertificateChain trust error #17

Open
EvoLandEco opened this issue Mar 13, 2024 · 1 comment
Open

CertGetCertificateChain trust error #17

EvoLandEco opened this issue Mar 13, 2024 · 1 comment

Comments

@EvoLandEco
Copy link

EvoLandEco commented Mar 13, 2024

m <- treebase::download_metadata("2019-01-01", by="until") gives error:

schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT

If I change httr setting by httr::set_config(httr::config(ssl_verifypeer=0L)), rerunning the download_metadata gives another error:

schannel: CertGetCertificateChain trust error CERT_TRUST_IS_NOT_TIME_VALID

@EvoLandEco
Copy link
Author

Found a solution for the issue:

library(RCurl)
options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")))

However, then I encountered the same issue XML content does not seem to be XML: '' as reported by @gtiley in #16 (comment)_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant