From 52134f2f1e3445b491b29f5b9bd0d7cd65a6c2cb Mon Sep 17 00:00:00 2001 From: Mohamed Ajab Date: Fri, 16 Oct 2026 20:27:43 +0100 Subject: [PATCH] docs: explain certificate configuration for system Git Signed-off-by: Mohamed Ajab --- docs/dependency-specification.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/dependency-specification.md b/docs/dependency-specification.md index d4f0c3e2f8f..88e71456065 100644 --- a/docs/dependency-specification.md +++ b/docs/dependency-specification.md @@ -394,6 +394,15 @@ poetry config system-git-client true ``` {{% /note %}} +{{% note %}} +The `certificates..cert` setting described under +[Certificates]({{< relref "repositories#certificates" >}}) configures package repositories, not Git repositories. +If you enable `system-git-client` and your Git server uses a private certificate authority, configure +certificate trust in Git itself. Git's [`http.sslCAInfo`](https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpsslCAInfo) +setting specifies a CA certificate bundle. Configuring a certificate for a Poetry package source does +not configure the system Git client's HTTPS connection. +{{% /note %}} + ## `path` dependencies {{< tabs tabTotal="2" tabID1="path-project" tabID2="path-poetry" tabName1="[project]" tabName2="[tool.poetry]">}}