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

Allow usage of custom SSL file to work behind corporate firewall #342

Closed
jagu-sayan opened this issue Jul 30, 2024 · 0 comments
Closed

Allow usage of custom SSL file to work behind corporate firewall #342

jagu-sayan opened this issue Jul 30, 2024 · 0 comments

Comments

@jagu-sayan
Copy link
Contributor

jagu-sayan commented Jul 30, 2024

Hello,

Look like it's not working with custom SSL file, I try to use GIT_OPT_SET_SSL_CERT_LOCATIONS and SSL_CERT_FILE environment variables without sucess.

I have the following error:
> git workspace update
Fetching repositories...
Error: Error fetching repositories from Gitlab user/group test at https://gitlab.com in directory test, using the token stored in GITLAB_TOKEN

Caused by:
    0: https://gitlab.com/api/graphql: Connection Failed: tls connection init failed: invalid peer certificate: UnknownIssuer
    1: invalid peer certificate: UnknownIssuer

Related to:

jagu-sayan added a commit to jagu-sayan/git-workspace that referenced this issue Jul 31, 2024
Upgrade ureq crate and enable `native-certs` feature to use OS’ trust store
and SSL_CERT_FILE environment variable, see:
- https://docs.rs/ureq/latest/ureq/#trusted-roots
- https://docs.rs/rustls-native-certs/latest/rustls_native_certs/
@orf orf closed this as completed in d5552e4 Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant