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

Incorrect path OS detection #451

Open
s1lver opened this issue Jun 6, 2022 · 2 comments
Open

Incorrect path OS detection #451

s1lver opened this issue Jun 6, 2022 · 2 comments

Comments

@s1lver
Copy link

s1lver commented Jun 6, 2022

Environment

  • Operating system (including version): Ubuntu 20.04
  • mkcert version (from mkcert -version): v1.4.4
  • Server (where the certificate is loaded):
  • Client (e.g. browser, CLI tool, or script):

What you did

mkcert -install

What went wrong

ERROR: failed to execute "update-ca-trust extract": exit code 1
sudo: update-ca-trust: command not found

When calling the mkcert -install, I get an error because I have a directory specific to CentOS/RedHat. But, I have a different OS and there is a specific path for it.

if pathExists("/etc/pki/ca-trust/source/anchors/") {

I think that it is necessary to change the definition method to get rid of this problem.

@prettyboy42
Copy link

I had the same problem. Is there any solution for this? Many thanks.

@s1lver
Copy link
Author

s1lver commented Nov 28, 2022

I had the same problem. Is there any solution for this? Many thanks.

Remove or rename temporary directories specific for CentOS/RedHat or manually invoke commands to update the certificate store for Ubuntu

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

2 participants