I'm using R 3.5.2 version. And 1.4.0 version for httr package.
I calling an restApi Get:
CallingRestAPI = function(url){
call.response <- GET(url = url, authenticate(username, password , type = "ntlm"))
return(call.response)
}
Was working fine suddenly giving this error:
Error in curl::curl_fetch_memory(url, handle = handle) :
schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT
Update httr to the development version:
or
See:
Schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT
Do not override the CA bundle
httr (development version)