From: Ofek Lev Date: Mon, 25 Jul 2022 09:23:08 +0000 (-0400) Subject: Update link to trustme (#2318) X-Git-Tag: 0.23.1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=988496523370e88a23088a0ea0b7c11bae73268e;p=thirdparty%2Fhttpx.git Update link to trustme (#2318) --- diff --git a/docs/advanced.md b/docs/advanced.md index 81623fe8..5da53118 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -1064,7 +1064,7 @@ When making requests to local servers, such as a development server running on ` If you do need to make HTTPS connections to a local server, for example to test an HTTPS-only service, you will need to create and use your own certificates. Here's one way to do it: -1. Use [trustme-cli](https://github.com/sethmlarson/trustme-cli/) to generate a pair of server key/cert files, and a client cert file. +1. Use [trustme](https://github.com/python-trio/trustme) to generate a pair of server key/cert files, and a client cert file. 1. Pass the server key/cert files when starting your local server. (This depends on the particular web server you're using. For example, [Uvicorn](https://www.uvicorn.org) provides the `--ssl-keyfile` and `--ssl-certfile` options.) 1. Tell HTTPX to use the certificates stored in `client.pem`: