# Installation error - invalid peer certificate - --native-tls?

**URL:** <https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975>\
**Category:** Help\
**Created:** [August 20, 2025, 3:15pm UTC](https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975 "2025-08-20T15:15:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cortante](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/cortante/32/30520_2.png) [@cortante](https://forums.ankiweb.net/u/cortante)\
**Post date:** [August 20, 2025, 3:15pm UTC](https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975/1 "2025-08-20T15:15:05Z")

</div>

Dears,

When i tried to install Anki with the new installer, I encountered an error due to my work using non-standard certiicates (I think). The command line windows shows the error message below, speaking about certificate error and suggesting the use of the --native-tls command line flag.

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Anki Launcher

Checking for updates…  
Unable to check for Anki versions. Please check your internet connection.

Error: Failed to run (1): C:\Users\XXXXXX\Anki\uv.exe run --no-project --no-config --managed-python --with pip-system-certs --python 3.13.5 C:\Users\XXXXXXX\Anki\versions.py: × Failed to fetch: `https://pypi.org/simple/pip-system-certs/`  
├─▶ Request failed after 3 retries  
├─▶ error sending request for url ( Links for pip-system-certs )  
├─▶ client error (Connect)  
╰─▶ invalid peer certificate: UnknownIssuer  
help: Consider enabling use of system TLS certificates with the  
`--native-tls` command-line flag

Press enter to close…  
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

I was able to run the specific command successfully in powershell with the –native-tls flag and as I ran anki.exe again I got another certificate error regarding C:\Users\xxxx\Anki\uv.exe sync --upgrade --managed-python --no-config --python 3.13.5 .

I also successfully ran this command with the native-tls flag in powershell and tried anki.exe again.  
This time I was face with the menu with options:  
——————————————  
Anki Launcher

1. Latest Anki (press Enter)

2. Choose a version

3. Allow betas: off

4. Cache downloads: on

5. Uninstall

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

when choosing to launch option Latest Anki (1), I met again the following certificate error message (C:\Users\XXXXXXXXX\Anki\uv.exe sync --upgrade --managed-python --no-config --python 3.13.5). The laucher then is stuck in this phase.

I do not have administrator privileges in the machine. Is there a way to be able to install the latest anki version?

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [August 21, 2025, 8:21pm UTC](https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975/2 "2025-08-21T20:21:42Z")

</div>

For now, you can revert to 25.02.7 – with a fresh install to avoid any launcher issues.

> **[Release 25.02.7 · ankitects/anki](https://github.com/ankitects/anki/releases/tag/25.02.7)**
>
> Fix some add-ons broken by the security update a few days ago (thanks to @tatsumoto-ren)
> Fix 'record own voice' and TTS breakages (thanks to @abdnh)
> Silence an "unknown error" message that appears ...

---

<div class="post-metadata">

**Author:** ![cortante](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/cortante/32/30520_2.png) [@cortante](https://forums.ankiweb.net/u/cortante)\
**Post date:** [August 21, 2025, 8:44pm UTC](https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975/3 "2025-08-21T20:44:14Z")

</div>

Thanks, I am using it for now. Unfortunately, there is an add-on that I depend upon (ankimorph) that is unavailable to any version prior to 25.07.03. I understand that my issue with the laucher is not very widespread, since it seems to be caused by the use of non-standard certificate issuers by my corporate network.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [August 21, 2025, 11:50pm UTC](https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975/4 "2025-08-21T23:50:46Z")

</div>

> [@cortante](#):
>
> Unfortunately, there is an add-on that I depend upon (ankimorph) that is unavailable to any version prior to 25.07.03.

That sounds strange to me, since AnkiMorphs has been available and compatible for a few years. I don’t know why the dev removed the prior branches on the add-on page, but you might want to contact them directly to find out if there’s any reason you can’t continue using [an earlier released version](https://github.com/mortii/anki-morphs/releases) with an older version of Anki.

---

<div class="post-metadata">

**Author:** ![cortante](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/cortante/32/30520_2.png) [@cortante](https://forums.ankiweb.net/u/cortante)\
**Post date:** [August 22, 2025, 12:20am UTC](https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975/5 "2025-08-22T00:20:26Z")

</div>

I found the prior versions on its github, thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [September 21, 2025, 12:20am UTC](https://forums.ankiweb.net/t/installation-error-invalid-peer-certificate-native-tls/65975/6 "2025-09-21T00:20:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
