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