mkcert icon indicating copy to clipboard operation
mkcert copied to clipboard

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

Open mattKaczorowski opened this issue 2 years ago • 9 comments

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.

mattKaczorowski avatar May 03 '22 15:05 mattKaczorowski

Hi

Dinaribrahim avatar May 06 '22 10:05 Dinaribrahim

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 avatar Sep 09 '22 14:09 quentinDupont

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

quentinDupont avatar Oct 28 '22 12:10 quentinDupont

@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

harvey56 avatar Dec 16 '22 02:12 harvey56

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

quentinDupont avatar Dec 20 '22 08:12 quentinDupont

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 :disappointed:

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

romulomourao avatar Jan 04 '23 21:01 romulomourao

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

ronilaukkarinen avatar Jul 03 '23 09:07 ronilaukkarinen

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.

keithnoseworthy avatar Jul 26 '23 14:07 keithnoseworthy

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! :heart:

ronilaukkarinen avatar Jul 27 '23 16:07 ronilaukkarinen