[MacOS Tahoe 26.2] Cannot install Anki 25.09 – invalid peer certificate: UnknownIssuer

I’ve tried a number of things related to permissions. No dice.

Anki used to run on Mac fine, but since I got a Mac M4 in the Fall, I have not been able to install and sync. That was a new machine, clean install. OS and Command Line tools are current. I had waited hoping whatever the issue was would get fixed. Revisited today and nope. I’m just chasing my tail so if someone else has stepped on this rake and figured it out I’d be grateful to learn how.

Internet connection is fine. Don’t know why it apparently can’t reach something needed.

Here’s the error:

I wonder if a macOS workaround might be:

(export GIT_SSL_NO_VERIFY=true ; /Applications/Anki.app/Contents/MacOS/launcher)

Disabling SSL verification isn’t something that should be generally done. But, I think it might be okay in this specific case?

Thank you for reply. Unfortunately same error.

Hmmm… assuming that trying to run the failing command manually…

/Applications/Anki.app/Contents/MacOS/uv run --no-project --no-config --managed-python --with "pip-system-certs,requests[socks]" --python 3.13.5 /Applications/Anki.app/Contents/Resources/versions.py

… results in the same error, I wonder if adding --allow-insecure-host github.com to the command might allow it to run:

/Applications/Anki.app/Contents/MacOS/uv run --allow-insecure-host github.com --no-project --no-config --managed-python --with "pip-system-certs,requests[socks]" --python 3.13.5 /Applications/Anki.app/Contents/Resources/versions.py

If the command does run successfully, then a workaround might be:

(export UV_INSECURE_HOST=github.com ; /Applications/Anki.app/Contents/MacOS/launcher)