libcurl SSL errors on Windows

Cannot install packages because of coprporate network using an SSL intercept.
They intercept the request and insert their own self signed certificate.

install.packages('') and remotes::install_github()


Can get around this using options


but that reverts back to libcurl and is depricated.

I was able to get curl in a shell to work by setting CURL_CA_BUNDLE but it doesn't work inside R/RStudio.

Also related when I try to


This error happens
Error in curlGetHeaders("") :
libcurl error code 35:
schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

Is there somewhere I can provide the chain of certs and get libcurl/httr/curl to use them?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.