FiloSottile / FiloSottile/mkcert

mkcert -install` fails to run on Arch based system

Open
#330 4 comments 1 reaction 0 assignees View on GitHub
waiting for info
Dominant language
Go
Stars
59.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

After installing the necessary package required in the installation note, I run the first command
```
mkcert -install
ERROR: failed to execute "update-ca-certificates": exec: "update-ca-certificates": executable file not found in $PATH
```
It seems he is searching for update-ca-certificates command, but Arch is providing a sightly different command to do the same job `trust` I think this case should be taken into account to make the `mkcert -install` to run correctly.
Thank you

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `mkcert -install` on an Arch-based system and trace the platform-specific certificate installation path that invokes `update-ca-certificates`. Compare the available Arch command, `trust`, with the current behavior; done means installation completes and the generated CA is trusted on Arch without breaking other supported systems.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, go
Domain
cli, operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.