Uh oh!
There was an error while loading. Please reload this page.
Included create_ssl_context function to create the same context with SSLConfig and serve as API - #996
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| @@ -38,10 +36,11 @@ def test_load_ssl_config_verify_env_file(https_server, ca_cert_pem_file, config) | |||
| else str(Path(ca_cert_pem_file).parent) | |||
| ) | |||
| ssl_config = SSLConfig(trust_env=True) | |||
There was a problem hiding this comment.
It'd be great as part of this change if we dropped using the private SSLConfig from the tests completely.
Not necessarily a blocker to getting this PR in, but might be worth a go?
Uh oh!
There was an error while loading. Please reload this page.
lovelydinosaur
left a comment
There was a problem hiding this comment.
Fantastic stuff! I've put a few inline comments here.
There's also a bit of thinking we'll want to do wrt. if http2 properly lives on the SSL configuration, or on the transport, or both, but I'm not going to go into that here.
4e074b8 to
98cfdeaCompare…SSLConfig and serve as API.
…LConfig using from tests
98cfdea to
8a9d263Compare
lovelydinosaur
left a comment
There was a problem hiding this comment.
Looks great yup!
I'll leave it open briefly in case anyone else also want to take a review onto it, but otherwise we'll get this into 0.14.
Thanks so much !
Refs #983