FiloSottile / mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like.
https://mkcert.dev
BSD 3-Clause "New" or "Revised" License
48.79k stars 2.52k forks source link

Segmentation fault when attempting mkcert -install (mkcert installed by brew), mkcert intalled via apt-get works - 1.4.3, 1.4.4 #559

Open therobyouknow opened 10 months ago

therobyouknow commented 10 months ago

Environment

$ mkcert -version
Segmentation fault

What you did

Ran Ubuntu in WSL2, got terminal, then:

$ mkcert -install
Segmentation fault

What went wrong

Segmentation fault
therobyouknow commented 10 months ago

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 8 months ago

same problem here with an ubuntu distro (not inside wsl)