Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-ca-certificates not found on Debian sid #188

Closed
paolieri opened this issue Aug 14, 2019 · 1 comment
Closed

update-ca-certificates not found on Debian sid #188

paolieri opened this issue Aug 14, 2019 · 1 comment

Comments

@paolieri
Copy link

By default, /usr/sbin is not on PATH for non-root users in Debian sid.

So, binaryExists("update-ca-certificates") returns false at:
https://github.com/FiloSottile/mkcert/blob/master/truststore_linux.go#L49
and mkcert fails to install in the system store (Installing to the system store is not yet supported on this Linux).

Simply running

PATH=$PATH:/usr/sbin mkcert -install

solves the issue, but it would be nice if mkcert could temporarily add /usr/sbin to PATH or search in it explicitly.

@paolieri
Copy link
Author

This is even better. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant