this post was submitted on 04 Nov 2025
3 points (100.0% liked)

Nix / NixOS

2558 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

I have installed NixOS on WSL behind Appgate, that runs a proxy and replaces the SSL certificates of the sites, I am visiting.

When I try to execute: sudo nix-channel --update I get the SSL errors, as I don't have imported the root CA certificate of the Proxy.

I have tried to manually download the file and import its path to the configuration.nix but it still fails and shows me the same SSL error.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] ruffsl@programming.dev 2 points 1 month ago (1 children)

I think you may need a successful switch to actually apply the addition of the proxy CA to your root CA store before attempting any other changes that could require reaching out across the network. At least that was the order of operations I had to follow to remove an offline remote cache before attempting any package updates.

[โ€“] filister@lemmy.world 1 points 1 month ago

The problem is that I cannot successfully rebuild because of the SSL certificate errors. Is there any way to bypass the SSL verification?