From: Tom Christie Date: Thu, 28 Nov 2024 11:40:58 +0000 (+0000) Subject: Update docs/advanced/ssl.md X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad5234f3acc14f3f3e3c9f2b9afd38fe95600ad7;p=thirdparty%2Fhttpx.git Update docs/advanced/ssl.md --- diff --git a/docs/advanced/ssl.md b/docs/advanced/ssl.md index fc466571..3acddc7b 100644 --- a/docs/advanced/ssl.md +++ b/docs/advanced/ssl.md @@ -30,6 +30,7 @@ For more complex configurations you can pass an [SSL Context](https://docs.pytho import certifi import httpx import ssl +import certifi # Use certifi for certificate validation, rather than the system truststore. ctx = ssl.create_default_context(cafile=certifi.where())