[GH-ISSUE #604] mkcert -install hangs #339

Open
opened 2026-02-25 22:33:08 +03:00 by kerem · 1 comment
Owner

Originally created by @chrcan on GitHub (Aug 23, 2024).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/604

Environment

Hello,
I install on my macOS 13.6 (22G120) normally ‘brew install mkcert’ then mkcert -install check again the version mkcert -version and as far as I can see everything is installed with version 1.4.4 fine.
Now I try to start a ddev project with ddev start and no matter with which project it always hangs when checking the certificate.
I have checked everything so far, the certificates are created and I can also see them in the macOS keychain, but the connection or query does not seem to work.
I have also analysed the mkcert, but as I am not a developer, the protocol does not tell me anything.
How can it be that the communication does not work, do you have a solution for the problem?

Analyse von „mkcert“.txt

Originally created by @chrcan on GitHub (Aug 23, 2024). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/604 ## Environment Hello, I install on my macOS 13.6 (22G120) normally ‘brew install mkcert’ then mkcert -install check again the version mkcert -version and as far as I can see everything is installed with version 1.4.4 fine. Now I try to start a ddev project with ddev start and no matter with which project it always hangs when checking the certificate. I have checked everything so far, the certificates are created and I can also see them in the macOS keychain, but the connection or query does not seem to work. I have also analysed the mkcert, but as I am not a developer, the protocol does not tell me anything. How can it be that the communication does not work, do you have a solution for the problem? [Analyse von „mkcert“.txt](https://github.com/user-attachments/files/16728483/Analyse.von.mkcert.txt)
Author
Owner

@rfay commented on GitHub (Sep 9, 2024):

We've seen a number of instances of a hang like this where Java was apparently misconfigured. The solution in this case was to unset JAVA_HOME before mkcert -install and that solved the problem.

Related:

<!-- gh-comment-id:2338795223 --> @rfay commented on GitHub (Sep 9, 2024): We've seen a number of instances of a hang like this where Java was apparently misconfigured. The solution in this case was to `unset JAVA_HOME` before `mkcert -install` and that solved the problem. Related: * [Stack Overflow problem mentioning java Keytool](https://stackoverflow.com/a/78923816/215713) * https://github.com/FiloSottile/mkcert/issues/425
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#339
No description provided.