mkcert
mkcert copied to clipboard
mkcert install fails to install in firefox / chrome db on Ubuntu 20.04.
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.
- ran
mkcert -install
- Tried
sudo mkcert -install
- It installs, but fails to find the chrome/firefox stores. - 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.
Hi
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.
Can't suceed to make it work, if someone has the solution !
@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
Yes ! Using the v1.4.4 works like a charm ! at least on Ubuntu 22.04 https://github.com/FiloSottile/mkcert/releases
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
I'm also having this problem on Pop!_OS 20.04.
I also had this problem. Tried mkcert -uninstall
then mkcert -install
but it still did not work.
Then tried:
- Run
mkcert -uninstall
-
cd ~/.local/share
and delete the /mkcert folder (it was still there after the uninstall). - Run
mkcert -install
Seems to work.
I also had this problem. Tried
mkcert -uninstall
thenmkcert -install
but it still did not work.Then tried:
- Run
mkcert -uninstall
cd ~/.local/share
and delete the /mkcert folder (it was still there after the uninstall).- Run
mkcert -install
Seems to work.
Wow thank you, this fixed it! :heart: