From 767111f06f03794d1b71f73c02d7b360b775644d Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 26 Feb 2024 11:04:44 -0500 Subject: [PATCH] Document verify-ssl --- docs/guide/sources.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/guide/sources.md b/docs/guide/sources.md index bab56b10f2..cae24beb75 100644 --- a/docs/guide/sources.md +++ b/docs/guide/sources.md @@ -115,3 +115,15 @@ can be supplied with environment variables. name = "company-internal" url = "https://${INDEX_USERNAME}:${INDEX_PASSWORD}@company.internal/simple/" ``` + +## SSL/TLS Verification + +By default a source needs to be SSL/TLS protected. If not, rye will refuse to honor +the source. You can override this by setting `verify-ssl` to `false`: + +```toml +[[sources]] +name = "company-internal" +url = "http://company.internal/simple/" +verify-ssl = false +```