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=refs%2Fheads%2Ftomchristie-patch-1;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())