This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: SSL server requesting client certificates should send CA list
Type: behavior Stage: needs patch
Components: SSL Versions: Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: alex, christian.heimes, dstufft, janssen, kchen
Priority: normal Keywords:

Created on 2016-11-11 23:30 by kchen, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg280620 - (view) Author: Kevin Chen (kchen) Date: 2016-11-11 23:30
When a Python HTTPS server requests client certificates, it should send a CA list so the client knows which certificates are acceptable.

It looks like right now Python calls SSL_CTX_load_verify_locations, so once the client certificate is sent, Python can verify whether the client against the specify CAs.  However, it looks like Python should also call SSL_CTX_set_client_CA_list so the client knows which certificates to send.
msg301503 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2017-09-06 19:41
It sounds like a sensible request.

Documentation links:
Date User Action Args
2022-04-11 14:58:39adminsetgithub: 72857
2017-09-06 19:41:48christian.heimessetassignee: christian.heimes ->
stage: needs patch
versions: + Python 3.7
2017-09-06 19:41:37christian.heimessetnosy: + janssen, alex, dstufft
messages: + msg301503
2016-11-11 23:30:24kchencreate