[GH-ISSUE #447] mkcert install fails to install in firefox / chrome db on Ubuntu 20.04. #286

Open
opened 2026-02-25 22:33:01 +03:00 by kerem · 9 comments
Owner

Originally created by @mattKaczorowski on GitHub (May 3, 2022).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/447

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.

Originally created by @mattKaczorowski on GitHub (May 3, 2022). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/447 ## 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. ``` <!-- Please include the precise error, like a terminal transcript or a browser screenshot. -->
Author
Owner

@Dinaribrahim commented on GitHub (May 6, 2022):

Hi

<!-- gh-comment-id:1119467890 --> @Dinaribrahim commented on GitHub (May 6, 2022): Hi
Author
Owner

@quentinDupont commented on GitHub (Sep 9, 2022):

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.

<!-- gh-comment-id:1242048304 --> @quentinDupont commented on GitHub (Sep 9, 2022): 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.
Author
Owner

@quentinDupont commented on GitHub (Oct 28, 2022):

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

<!-- gh-comment-id:1294953968 --> @quentinDupont commented on GitHub (Oct 28, 2022): Can't suceed to make it work, if someone has the solution !
Author
Owner

@harvey56 commented on GitHub (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

<!-- gh-comment-id:1354102183 --> @harvey56 commented on GitHub (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
Author
Owner

@quentinDupont commented on GitHub (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

<!-- gh-comment-id:1358981946 --> @quentinDupont commented on GitHub (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
Author
Owner

@romulomourao commented on GitHub (Jan 4, 2023):

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

<!-- gh-comment-id:1371456218 --> @romulomourao commented on GitHub (Jan 4, 2023): > 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
Author
Owner

@ronilaukkarinen commented on GitHub (Jul 3, 2023):

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

<!-- gh-comment-id:1617756465 --> @ronilaukkarinen commented on GitHub (Jul 3, 2023): I'm also having this problem on [Pop!_OS](https://system76.com/pop) 20.04.
Author
Owner

@keithnoseworthy commented on GitHub (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.

<!-- gh-comment-id:1651967113 --> @keithnoseworthy commented on GitHub (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.
Author
Owner

@ronilaukkarinen commented on GitHub (Jul 27, 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.

Wow thank you, this fixed it! ❤️

<!-- gh-comment-id:1653914435 --> @ronilaukkarinen commented on GitHub (Jul 27, 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. Wow thank you, this fixed it! :heart:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#286
No description provided.