trustme icon indicating copy to clipboard operation
trustme copied to clipboard

Support on winhttp

Open phoebusm opened this issue 11 months ago • 1 comments

Hello I am trying to incorporate trustme in the CA SSL verification testing in a opensourced project. Experience on Linux is good but run into error with winhttp: Send request failed: The certificate authority is invalid or incorrect I googled but could not find any evidence explicitly suggesting the trustm support on winhttp. So I wonder how is it?

phoebusm avatar Mar 05 '24 01:03 phoebusm

Hello! I'm not familiar with WinHTTP. If you figure out why it considers the CA is invalid, then we can fix it. The same way we fixed OpenSSL support on Windows by "only" using 3000 as the default expiry date:

https://github.com/python-trio/trustme/blob/dd106e42ede25b4e82bb8ee754a0870807e716f4/src/trustme/init.py#L33-L38

pquentin avatar Mar 05 '24 05:03 pquentin