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

Rig 0.7.0 does not work with Proxy and Internal CA Certs on MacOS #227

Open
chrisphe opened this issue Apr 26, 2024 · 4 comments
Open

Rig 0.7.0 does not work with Proxy and Internal CA Certs on MacOS #227

chrisphe opened this issue Apr 26, 2024 · 4 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@chrisphe
Copy link

Whilst Rig 0.6.0 works perfectly on MacOS, with 0.7.0 I saw an error regarding certificate validation on MacOS:

[ERROR] Cannot download JSON: error sending request for url (https://api.r-hub.io/versions/available/macos/arm64): error trying to connect: invalid peer certificate: UnknownIssuer

I suspect that Rig is no longer making using of SSL_CERT_FILE.

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Apr 26, 2024
@gaborcsardi
Copy link
Member

This is probably because rig switched to rustls instead of openssl. I'll look into how to use the certs with rustls.

@chrisphe
Copy link
Author

There's a couple of options - this PR seems to address this rustls/rustls-native-certs#32 Also https://github.com/rustls/rustls-native-certs

@chrisphe
Copy link
Author

By way of update, I wanted to mention this issue is also occurring on Linux, so I would assume it exists on all platforms in 0.7.0.

@cxgillis
Copy link

cxgillis commented Jul 1, 2024

Just adding another bump to this issue; my organization also requires use of Proxy and Internal CA Certs and so due to this issue we are no longer able to use Rig starting with version 0.7.0. Would be grateful to see this ability restored as it was before this latest release to allow us to stay up-to-date, and many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants