-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
featurea feature request or enhancementa feature request or enhancement
Description
I'm behind a proxy, using WSL and had to add a certificate:
sudo cp /path/to/company.cer /usr/local/share/ca-certificates/company.crt
sudo update-ca-certificatesUnfortunately, this did not solve the issue with rig:
rig resolve release[ERROR] Failed to resolve R version: Cannot download JSON: error sending request for url (https://api.r-hub.io/rversions/resolve/release/linux-ubuntu-24.04/x86_64): error trying to connect: invalid peer certificate: UnknownIssuerNote that curl works properly when checking the URL:
curl -v https://api.r-hub.io/rversions/resolve/4.4/linux-ubuntu-24.04/x86_64To ensure rig was able to read the certificates, I had to do:
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
rig resolve releaseIs there a way this (or similar) can be done automatically by rig?
(Unfortunately, I don't have a small reproducible example to allow you to reproduce)
llrs-roche
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement