Update server.py
This commit is contained in:
parent
5530c6d257
commit
7fe51dbd1b
1 changed files with 0 additions and 1 deletions
|
@ -101,7 +101,6 @@ def relay():
|
|||
contx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
||||
if certfile:
|
||||
contx.load_cert_chain(certfile=homefolder + "/certs/" + certfile + "-chain.pem", keyfile=homefolder + "/certs/" + certfile + "-privkey.pem");
|
||||
contx.load_verify_locations(cafile=ssl.CERT_AU);
|
||||
contx.verify_mode = ssl.CERT_OPTIONAL
|
||||
contx.check_hostname = False;
|
||||
gemsocket = contx.wrap_socket(gsocket)
|
||||
|
|
Loading…
Add table
Reference in a new issue