mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 15:31:45 +00:00
Update server.py
This commit is contained in:
parent
0d3d20b535
commit
66fbe0eb9a
|
@ -113,7 +113,7 @@ def proxy_connect(webserver, conn):
|
|||
p2 = Popen(["openssl", "x509", "-req", "-days", "3650", "-CA", cacert, "-CAkey", cakey, "-set_serial", epoch, "-out", certpath], stdin=p1.stdout, stderr=PIPE)
|
||||
p2.communicate()
|
||||
except Exception as e:
|
||||
print("[*] Skipped generating the key. %s" % (str(e)))
|
||||
print("[*] Skipped generating the certificate. Because of %s" % (str(e)))
|
||||
|
||||
# https://stackoverflow.com/questions/11255530/python-simple-ssl-socket-server
|
||||
# https://docs.python.org/3/library/ssl.html
|
||||
|
|
Loading…
Reference in New Issue
Block a user