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("Index of /pub/CTAN/systems/texlive/tlnet") :
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?