one CERT_REQUIRED is enough
This commit is contained in:
parent
1dbf61fa46
commit
d6dc952e17
|
@ -1801,7 +1801,6 @@ else:
|
||||||
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
|
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
|
||||||
context.verify_mode = ssl.CERT_REQUIRED
|
context.verify_mode = ssl.CERT_REQUIRED
|
||||||
context.load_verify_locations(SIGNING_CA)
|
context.load_verify_locations(SIGNING_CA)
|
||||||
context.verify_mode = ssl.CERT_REQUIRED
|
|
||||||
context.verify_flags = ssl.VERIFY_DEFAULT
|
context.verify_flags = ssl.VERIFY_DEFAULT
|
||||||
|
|
||||||
# VERIFY_DEFAULT should pass
|
# VERIFY_DEFAULT should pass
|
||||||
|
|
Loading…
Reference in New Issue