Skip to content

eve: add cache2.thalheim.io with mTLS authentication#4577

Merged
Mic92 merged 1 commit intomainfrom
radicle
Jan 25, 2026
Merged

eve: add cache2.thalheim.io with mTLS authentication#4577
Mic92 merged 1 commit intomainfrom
radicle

Conversation

@Mic92
Copy link
Owner

@Mic92 Mic92 commented Jan 25, 2026

Set up an experimental mTLS-authenticated binary cache endpoint to test
the nix client certificate authentication feature from NixOS/nix#13030.

The setup uses clan vars to generate a self-signed CA and client
certificate pair. Nginx is configured to require client certificate
verification against this CA before proxying to the harmonia backend.

This allows testing the new nix substituter options:
tls-certificate=/path/to/client.crt
tls-private-key=/path/to/client.key

Tested with:
nix copy --from 'https://cache2.thalheim.io?tls-certificate=~/.nix-mtls/client.crt&tls-private-key=~/.nix-mtls/client.key' /nix/store/i3zw7h6pg3n9r5i63iyqxrapa70i4v5w-hello-2.12.2

Set up an experimental mTLS-authenticated binary cache endpoint to test
the nix client certificate authentication feature from NixOS/nix#13030.

The setup uses clan vars to generate a self-signed CA and client
certificate pair. Nginx is configured to require client certificate
verification against this CA before proxying to the harmonia backend.

This allows testing the new nix substituter options:
  tls-certificate=/path/to/client.crt
  tls-private-key=/path/to/client.key

Tested with:
  nix copy --from 'https://cache2.thalheim.io?tls-certificate=~/.nix-mtls/client.crt&tls-private-key=~/.nix-mtls/client.key' /nix/store/i3zw7h6pg3n9r5i63iyqxrapa70i4v5w-hello-2.12.2
@Mic92 Mic92 enabled auto-merge (rebase) January 25, 2026 13:56
@Mic92 Mic92 merged commit bd478cd into main Jan 25, 2026
3 checks passed
@Mic92 Mic92 deleted the radicle branch January 25, 2026 13:57
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

Successfully merging this pull request may close these issues.

1 participant