Installation of certificate in uv

מתוך ויקי נטפרי
גרסה מ־17:32, 21 בדצמבר 2024 מאת Yzahn (שיחה | תרומות) (יצירת דף עם התוכן "{{he|התקנת תעודה ב-uv}} {{Navigation|Security certificate}} By default the <code>uv</code> command uses it's own internal certificate store. To use...")
(הבדל) → הגרסה הקודמת | הגרסה האחרונה (הבדל) | הגרסה הבאה ← (הבדל)
קפיצה לניווט קפיצה לחיפוש

לעברית לחצו כאן

To switch from edit view to read view

To search in the Wiki

Home page > Security certificate > Installation of certificate in uv ‎‎


By default the uv command uses it's own internal certificate store. To use uv in Netfree you need to configure it to use the operating system's certificate store.

Option 1 (recommended)

Saving the setting as the default

Create or edit the following file, depending on your operating system

Windows

%APPDATA%\uv\uv.toml

Linux & macOS

~/.config/uv/uv.toml

You may need to create intermediate directories if they don't exist


Add the following line at the start of the file:

native-tls = true

Option 2

Configure a single run to use this option


It's possible to configure this option for a single invocation without making it the default for subsequent ivocations Add the following flag to the command: --native-tls

For example:

uv sync --native-tls 

Another option

The following environment variable may be used instead of the flag: UV_NATIVE_TLS=true