Message287848
yes, i create a context and then when a request comes in, i load the appropriate key. this is how most [all?] SNI capable python server examples show how to do it, or did, at the time I wrote this module a few years ago. from that time, ~py 3.2 until now, it worked perfectly.
thank you for this information, i'll rewrite my callback accordingly. perhaps 18.2.5.3 in https://docs.python.org/3/library/ssl.html can be updated to inform developers how to change their socket.context in an SNI callback |
|
Date |
User |
Action |
Args |
2017-02-15 12:10:36 | David Ford (FirefighterBlu3) | set | recipients:
+ David Ford (FirefighterBlu3), vstinner, christian.heimes |
2017-02-15 12:10:36 | David Ford (FirefighterBlu3) | set | messageid: <1487160636.95.0.472983927759.issue29470@psf.upfronthosting.co.za> |
2017-02-15 12:10:36 | David Ford (FirefighterBlu3) | link | issue29470 messages |
2017-02-15 12:10:36 | David Ford (FirefighterBlu3) | create | |
|