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

mkcert install fails to install in firefox / chrome db on Ubuntu 20.04. #447

Open
mattKaczorowski opened this issue May 3, 2022 · 9 comments

Comments

@mattKaczorowski
Copy link

mattKaczorowski commented May 3, 2022

Environment

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

What you did

This seems to be a consistent problem with Ubuntu, multiple computers, fresh installs even a co-worker using Ubuntu 22.04. I have installed the required dependencies. We did install from the pre-build binaries.

  1. ran mkcert -install
  2. Tried sudo mkcert -install - It installs, but fails to find the chrome/firefox stores.
  3. Tried uninstall / reinstall
$ mkcert -install
The local CA is now installed in the system trust store! ⚡️
Installing in Firefox and/or Chrome/Chromium failed. Please report the issue with details about your environment at https://github.com/FiloSottile/mkcert/issues/new 👎
Note that if you never started Firefox and/or Chrome/Chromium, you need to do that at least once.

@Dinaribrahim
Copy link

Hi

@quentinDupont
Copy link

Hello,
My computer was in Ubuntu 16.04, then 18.04 and i reinstall a software using mkcert.
I have issues installing it (and still not resolving it).
But I saw that my local mkcert folder was owned by root, and that was preventing mkcert to install correctly.
I remove this folder, launch mkcert --install again and I had no mistake.

Well, it doesn't work after this but maybe you can try to check that.

@quentinDupont
Copy link

Can't suceed to make it work, if someone has the solution !

@harvey56
Copy link

harvey56 commented Dec 16, 2022

@quentinDupont have you found a solution to this by any chance ? I have the same problem using ubuntu 22.04

by the way, mkcert -uninstall to uninstall the local CA

@quentinDupont
Copy link

quentinDupont commented Dec 20, 2022

Yes !
Using the v1.4.4 works like a charm ! at least on Ubuntu 22.04
https://github.com/FiloSottile/mkcert/releases

@romulomourao
Copy link

Yes ! Using the v1.4.4 works like a charm ! at least on Ubuntu 22.04 https://github.com/FiloSottile/mkcert/releases

i'm still having this issue 😞

even using v1.4.4

i'm on PopOs (Ubuntu) 20.04

what is funny is that last month it was working fine, and today i've accidentally ran it again, and i've got that same message

@ronilaukkarinen
Copy link

I'm also having this problem on Pop!_OS 20.04.

@keithnoseworthy
Copy link

keithnoseworthy commented Jul 26, 2023

I also had this problem. Tried mkcert -uninstall then mkcert -install but it still did not work.

Then tried:

  1. Run mkcert -uninstall
  2. cd ~/.local/share and delete the /mkcert folder (it was still there after the uninstall).
  3. Run mkcert -install

Seems to work.

@ronilaukkarinen
Copy link

I also had this problem. Tried mkcert -uninstall then mkcert -install but it still did not work.

Then tried:

  1. Run mkcert -uninstall
  2. cd ~/.local/share and delete the /mkcert folder (it was still there after the uninstall).
  3. Run mkcert -install

Seems to work.

Wow thank you, this fixed it! ❤️

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

7 participants