1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-09 03:43:54 +02:00

http-binary-cache-store: Add 'ssl-cert' and 'ssl-key' settings

Those are set via the store's URI, e.g.:

    https://substituter.invalid?ssl-cert=/path/to/cert.pem&ssl-key=/path/to/key.pem
This commit is contained in:
Damien Diederen 2023-05-17 11:11:40 +02:00 committed by Jörg Thalheim
parent 041d2374dd
commit 368352dfa4
5 changed files with 46 additions and 2 deletions

View file

@ -0,0 +1,13 @@
---
synopsis: Support substituters using mTLS (client certificate) authentication
issues: []
prs: [13030]
---
Added support for `ssl-cert` and `ssl-key` options in substituter URLs.
Example:
https://substituter.invalid?ssl-cert=/path/to/cert.pem&ssl-key=/path/to/key.pem
When these options are configured, Nix will use this certificate/private key pair to authenticate to the server.