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

Install Nix behind MITM proxy #2181

Merged
merged 3 commits into from May 26, 2018

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented May 25, 2018

Sometimes corporations will have MITM proxies re-signing all their HTTPS traffic with their own certs. Our daemon-based installer currently fails under this scenario, because it forces its own set of certificates.

The daemonless installer, however, allowed installers to override the cert environment variable.

This PR brings the daemon-based installer in line feature-wise, and documents the feature.

I would like to backport this.

Closes #2180, #1896, #1211 (I think?)

Following the lead of the single user installer, if NIX_SSL_CERT_FILE is explicitly set prior to running, accept the user-provided version.
@grahamc grahamc added improvement documentation installer macos Nix on macOS, aka OS X, aka darwin labels May 25, 2018
@grahamc grahamc requested a review from edolstra May 25, 2018 20:04
@makefu
Copy link

makefu commented May 25, 2018

This is great! I will try this PR once i am at work again on monday

@edolstra edolstra merged commit 0a830ef into NixOS:master May 26, 2018
edolstra added a commit that referenced this pull request May 29, 2018
Omnibus backport: #2178: doc fix for --check, #2181: MITM HTTPS proxy fix at install time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation installer macos Nix on macOS, aka OS X, aka darwin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants