Allow to load SSL certfile and keyfile from a file-like object #129216
Labels
extension-modules
C modules in the Modules dir
topic-SSL
type-feature
A feature request or enhancement
Feature or enhancement
Proposal:
7c3ddb5
It should be possible to also load certfile and keyfile from embedded certificate strings. At the moment the code only reads the certificates from files (filepath). But when you don't want to have the saved/written certificates on the storage you should be able to load them from embedded strings.
Would it possible to include this code to the latest cpython? I tested this code from commit 7c3ddb5 with cpython v3.8.10 and here it almost has worked directly and only few lines had to be adapted. But I also tried it with the latest cpython version and here in Visual Studio there are some warnings. I don't know why this functionality isn't included in the master branch because it adds useful and advanced functionalities.
Has this already been discussed elsewhere?
#60691
Links to previous discussion of this feature:
main...jgehrcke:cpython:jgehrcke/address-issue-16487-sept17
The text was updated successfully, but these errors were encountered: