forked from Krautspace/doorstatus
clientauthentifizierung auf optional gesetzt
This commit is contained in:
parent
58d9c327c9
commit
804e9a10e5
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ def main():
|
|||
sys.exit(1)
|
||||
|
||||
context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
||||
context.verify_mode = ssl.CERT_REQUIRED
|
||||
context.verify_mode = ssl.CERT_OPTIONAL
|
||||
context.load_cert_chain(certfile=config['server']['cert'],
|
||||
keyfile=config['server']['key'])
|
||||
context.load_verify_locations(cafile=config['client']['cert'])
|
||||
|
|
Loading…
Reference in a new issue