bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530)
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.
C
Christian Heimes committed
ef24b6c54d40e7820456873a6eab6ef57d2bd0db
Parent: 4b704f2
Committed by Ned Deily <nad@python.org>
on 6/11/2018, 10:59:45 PM