mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #330] mkcert -install` fails to run on Arch based system #216
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lvceo on GitHub (Jan 8, 2021).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/330
After installing the necessary package required in the installation note, I run the first command
It seems he is searching for update-ca-certificates command, but Arch is providing a sightly different command to do the same job
trustI think this case should be taken into account to make themkcert -installto run correctly.Thank you
@mikhailal commented on GitHub (Jan 22, 2021):
Has this issue been already solved?
I tried to reproduce this issue with arch 21-01 (latest) running in VirtualBox,
mkcert -install works fine.
Environment:
@FiloSottile commented on GitHub (Jan 24, 2021):
mkcert supports
trust, but it looks like your system also has a different store that is usually managed withupdate-ca-certificates. If this is a common setup that you can help us reproduce, we can look into handling it better.github.com/FiloSottile/mkcert@1a5aaff12e/truststore_linux.go (L38-L43)@jahway603 commented on GitHub (Feb 15, 2021):
I am not the OP, but I also run Arch Linux and was successful using this tool I just discovered today. I installed mkcert using pacman and used mkcert -install to succesfully create cert for a web server I'm using now.
@andykais commented on GitHub (May 24, 2021):
I am also running arch linux and I think I see the problem. I did have
update-ca-certificatesinstalled, and just started using the newtrustcommand. This folder does exist:I followed the instructions here https://archlinux.org/news/ca-certificates-update/ (most importantly moving
/usr/local/share/ca-certificates/*.crtto/etc/ca-certificates/trust-source/anchors/) and then removed/usr/local/share/ca-certificates. Everything seems to work fine now, but I think this could be seamless if mkcert just prioritizes thetrustcommand overupdate-ca-certificatesiftrustis available.