Support on winhttp
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?
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