You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation is not super explicit on --cert-reqs
I was trying --certs-reqs 1 for a while and thinking it wasn't working as expected.
I had to read the code to understand that the value is passed straight into SSLContext.verify_mode, and that '1' didn't mean "turn on client cert validation" but instead codes for : ssl.CERT_OPTIONAL
--cert-reqs 2 (which is the value for ssl.CERT_REQUIRED) did the trick.
The text was updated successfully, but these errors were encountered:
@benoitc I think we should support the symbolic constants, since they are a small, fixed, finite set of values, and we should clarify the documentation.
Documentation is not super explicit on --cert-reqs
I was trying --certs-reqs 1 for a while and thinking it wasn't working as expected.
I had to read the code to understand that the value is passed straight into SSLContext.verify_mode, and that '1' didn't mean "turn on client cert validation" but instead codes for : ssl.CERT_OPTIONAL
--cert-reqs 2 (which is the value for ssl.CERT_REQUIRED) did the trick.
The text was updated successfully, but these errors were encountered: