Closed
Description
Documentation
The documentation states "The SSL context created above will only allow TLSv1.2 and later..." However, the example code sets the minimum version to TLS 1.3 (not 1.2 as stated).
I believe this line should be changed to:
>>> client_context.minimum_version = ssl.TLSVersion.TLSv1_2
I am happy to create a pull request, if that is helpful.
Linked PRs
- gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 #105404
- [3.11] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) #107038
- [3.10] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) #107039
- [3.12] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) #107040
- gh-105090: Update ssl.rst to show a range of TLS versions supported by a context. #107273