Show More
@@ -19,6 +19,7 b' import re' | |||
|
19 | 19 | import select |
|
20 | 20 | import signal |
|
21 | 21 | import socket |
|
22 | import ssl | |
|
22 | 23 | import sys |
|
23 | 24 | import threading |
|
24 | 25 | import webbrowser |
@@ -846,6 +847,9 b' class NotebookApp(BaseIPythonApplication):' | |||
|
846 | 847 | if not ssl_options: |
|
847 | 848 | # None indicates no SSL config |
|
848 | 849 | ssl_options = None |
|
850 | else: | |
|
851 | # Disable SSLv3, since its use is discouraged. | |
|
852 | ssl_options['ssl_version']=ssl.PROTOCOL_TLSv1 | |
|
849 | 853 | self.login_handler_class.validate_security(self, ssl_options=ssl_options) |
|
850 | 854 | self.http_server = httpserver.HTTPServer(self.web_app, ssl_options=ssl_options, |
|
851 | 855 | xheaders=self.trust_xheaders) |
General Comments 0
You need to be logged in to leave comments.
Login now