Staging
v0.5.1
https://github.com/python/cpython
Revision a5db479ac4cdcc0d94ec1d7a594720a651d90433 authored by Miss Islington (bot) on 11 June 2018, 23:20:24 UTC, committed by Ned Deily on 11 June 2018, 23:20:24 UTC
The documentation for CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED were
misleading and partly wrong. It fails to explain that OpenSSL behaves
differently in client and server mode. Also OpenSSL does validate the
cert chain everytime. With SSL_VERIFY_NONE a validation error is not
fatal in client mode and does not request a client cert in server mode.
Also discourage people from using CERT_OPTIONAL in client mode.
(cherry picked from commit ef24b6c54d40e7820456873a6eab6ef57d2bd0db)

Co-authored-by: Christian Heimes <christian@python.org>
1 parent 6530577
History
Tip revision: a5db479ac4cdcc0d94ec1d7a594720a651d90433 authored by Miss Islington (bot) on 11 June 2018, 23:20:24 UTC
bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530) (GH-7649)
Tip revision: a5db479
File Mode Size
docs-release.yml -rw-r--r-- 1.2 KB
docs.yml -rw-r--r-- 1.0 KB
linux-buildbot.yml -rw-r--r-- 1.7 KB
linux-coverage.yml -rw-r--r-- 2.2 KB
linux-deps.yml -rw-r--r-- 1.1 KB
linux-pr.yml -rw-r--r-- 1.9 KB
macos-buildbot.yml -rw-r--r-- 733 bytes
macos-pr.yml -rw-r--r-- 733 bytes
windows-buildbot.yml -rw-r--r-- 1.1 KB
windows-pr.yml -rw-r--r-- 1.1 KB

back to top