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

Client ssl auth or simple auth for private nix channels #690

Closed
offlinehacker opened this issue Nov 9, 2015 · 3 comments
Closed

Client ssl auth or simple auth for private nix channels #690

offlinehacker opened this issue Nov 9, 2015 · 3 comments
Assignees
Labels
feature Feature request or proposal

Comments

@offlinehacker
Copy link
Contributor

We would like to continous build all systems on central server (with hydra or with some other build system) and have private nix channel protected with client ssl auth or simple http auth is that possible?

@copumpkin
Copy link
Member

👂

@rvl
Copy link
Contributor

rvl commented Jun 20, 2016

I just tested this.

  1. Simple HTTP auth is possible by putting the username and password into the URL, in both nix.binaryCaches and nix.trustedBinaryCaches.
  2. Client SSL auth (my preferred solution) is only possible by adding more curl options to scripts/download-from-binary-cache.pl.in and nix-daemon.nix. This has worked for me. I could possibly make pull requests. Only problem is that the Perl is currently being rewritten in C++.

@domenkozar domenkozar added the feature Feature request or proposal label Jun 27, 2016
@shlevy shlevy added the backlog label Apr 1, 2018
@alexvorobiev
Copy link

I am using Artifactory for caching which requires both http authentication and custom SSL certificates. I described my configuration at https://discourse.nixos.org/t/uri-paths-in-substituters-and-hashed-mirrors/3877/2?u=alexv

zolodev pushed a commit to zolodev/nix that referenced this issue Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or proposal
Projects
None yet
Development

No branches or pull requests

8 participants