When trying to start the server on Debian Stretch (9) we get an exception
root@debian9:/usr/local/src/localchat# ./LocalChat.py
* Running on https://127.0.0.1:8090/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger pin code: 306-782-022
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in_ _bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 670, in inner
fd=fd)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 564, in make_server
passthrough_errors, ssl_context, fd=fd)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 500, in __init_ _
self.socket = ssl_context.wrap_socket(sock, server_side=True)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 422, in wrap_socket
ssl_version=self._protocol, **kwargs)
File "/usr/lib/python2.7/ssl.py", line 943, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python2.7/ssl.py", line 554, in_ _init_ _
self._context.load_cert_chain(certfile, keyfile)
SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:2699)
flask is called in adhoc mode so should be generating the cert on the fly, it looks like it's using an older message digest when doing so though.
Activity
2018-06-29 08:51:14
Which is more or less when they started refusing some digests.
Although it's a result of starting
2018-06-29 08:59:24
2018-06-29 09:58:58
2018-06-29 09:58:58
2018-06-29 09:59:34
2018-06-29 09:59:34
2018-06-29 09:59:34
2018-06-29 09:59:37