Segmentation fault when attempting mkcert -install (mkcert installed by brew), mkcert intalled via apt-get works - 1.4.3, 1.4.4
therobyouknow opened this issue · 2 comments
therobyouknow commented
Environment
- Operating system (including version):
Ubuntu 22.04 running in WSL2 on Windows 10 64 Bit Pro, 32GB RAM machine - mkcert version (from
mkcert -version
):
none reported:
$ mkcert -version
Segmentation fault
-
Server (where the certificate is loaded):
don't know sorry -
Client (e.g. browser, CLI tool, or script):
terminal
What you did
Ran Ubuntu in WSL2, got terminal, then:
$ mkcert -install
Segmentation fault
What went wrong
Segmentation fault
therobyouknow commented
I tried deleting the Ubuntu distro and recreating it, and then attempting to re-install mkcert via brew. Same error. 100% repeatable.
I then tried installing mkcert via apt-get and it worked - no longer the segmentation fault. version of mkcert v1.4.3 installed via that method. However, subsequent activity involving apt-get updated it to 1.4.4 and it still worked.
On that basis, my conclusion so far seems to be a problem with how brew installs mkcert.
hrivano commented
same problem here with an ubuntu distro (not inside wsl)