Skip to content

fix(M4Pro): corporate SSL certificate not configured for deno/node/git #4

Description

@lemtoc

Problem

On the corporate Mac (M4Pro), zeno.zsh fails to start because deno cannot fetch JSR packages due to missing SSL certificate configuration:

zeno: failed to start socket server
error: JSR package manifest for '@std/path' failed to load.

invalid peer certificate: UnknownIssuer — the corporate SSL inspection certificate is not set for deno.

  • git: http.sslCAInfo was manually configured via git config --global
  • node: NODE_EXTRA_CA_CERTS was set outside dotfiles
  • deno: DENO_CERT was not set at all

This causes space/enter keybindings (bound to zeno widgets) to break, making the shell unusable.

Solution

Add host-specific SSL certificate configuration to hosts/M4Pro/default.nix:

  • DENO_CERT
  • NODE_EXTRA_CA_CERTS
  • git http.sslCAInfo

All pointing to ~/.local/share/ca-certificates/corp.pem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions