<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nuxeo-drive and ssl_ciphers in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320289#M7290</link>
    <description>&lt;P&gt;Python 2.x tries to establish a connection with PROTOCOL_SSLv23 by default &amp;gt; &lt;A href="https://github.com/python/cpython/blob/360aa60b2a36f5f6e9e20325efd8d472f7559b1e/Lib/ssl.py#L1057"&gt;Patch Lib/ssl.py#L1057&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can patch the "wrap_socket" method to force the TLS connection &amp;gt; &lt;A href="https://bugs.python.org/issue24372"&gt;https://bugs.python.org/issue24372&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In this case, you can leave the option to choose the connection type in the GUI&lt;/P&gt;
&lt;P&gt;--&lt;/P&gt;
&lt;P&gt;For added security, it is advisable to use the library "urllib3" rather than version 2 &amp;gt; &lt;A href="https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning"&gt;urllib3#insecureplatformwarning&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It is preferable to use the package "pyopenssl" to connect to HTTPS &amp;gt;
&lt;A href="https://urllib3.readthedocs.org/en/latest/security.html#pyopenssl"&gt;urllib3#pyopenssl&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2015 11:10:23 GMT</pubDate>
    <dc:creator>Pierre_Jenicot1</dc:creator>
    <dc:date>2015-06-09T11:10:23Z</dc:date>
    <item>
      <title>Nuxeo-drive and ssl_ciphers</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320287#M7288</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We recently refused the protocols SSLv2, SSLv3 and SSLv23 to accept only TLS v1, v1.1 and v1.2 on our domain.&lt;/P&gt;
&lt;P&gt;From internet, our client-drive receive an error (below) after auto-negotiation for encryption of the connection (currently the RC4 encryption).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Traceback (most recent call last):
  File "nuxeo-drive-client\nxdrive\manager.py", line 397, in _get_update_url
  File "nuxeo-drive-client\nxdrive\manager.py", line 438, in _refresh_engine_update_infos
  File "nuxeo-drive-client\nxdrive\engine\engine.py", line 535, in get_update_infos
  File "nuxeo-drive-client\nxdrive\engine\engine.py", line 723, in get_remote_doc_client
  File "nuxeo-drive-client\nxdrive\client\remote_document_client.py", line 78, in __init__
  File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 216, in __init__
  File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 273, in fetch_api
URLError: &amp;lt;urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Indeed, the version 2.7.3 of the python still accepting RC4 cipher for SSL and TLS.
This has been removed from the 2.7.9 release (see url)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hg.python.org/cpython/rev/3596081cfb55/"&gt;https://hg.python.org/cpython/rev/3596081cfb55/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Could you take into account this change and accept the TLS v1.1 / 1.2 protocols?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qualys.com/blogs/securitylabs/2013/03/19/rc4-in-tls-is-broken-now-what"&gt;https://community.qualys.com/blogs/securitylabs/2013/03/19/rc4-in-tls-is-broken-now-what&lt;/A&gt;
&lt;A href="https://community.qualys.com/blogs/securitylabs/2014/10/15/ssl-3-is-dead-killed-by-the-poodle-attack"&gt;https://community.qualys.com/blogs/securitylabs/2014/10/15/ssl-3-is-dead-killed-by-the-poodle-attack&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:49:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320287#M7288</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2015-06-08T13:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo-drive and ssl_ciphers</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320288#M7289</link>
      <description>&lt;P&gt;So just upgrading to Python 2.7.9 in Drive build would solve the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 10:26:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320288#M7289</guid>
      <dc:creator>ataillefer_</dc:creator>
      <dc:date>2015-06-09T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo-drive and ssl_ciphers</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320289#M7290</link>
      <description>&lt;P&gt;Python 2.x tries to establish a connection with PROTOCOL_SSLv23 by default &amp;gt; &lt;A href="https://github.com/python/cpython/blob/360aa60b2a36f5f6e9e20325efd8d472f7559b1e/Lib/ssl.py#L1057"&gt;Patch Lib/ssl.py#L1057&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can patch the "wrap_socket" method to force the TLS connection &amp;gt; &lt;A href="https://bugs.python.org/issue24372"&gt;https://bugs.python.org/issue24372&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In this case, you can leave the option to choose the connection type in the GUI&lt;/P&gt;
&lt;P&gt;--&lt;/P&gt;
&lt;P&gt;For added security, it is advisable to use the library "urllib3" rather than version 2 &amp;gt; &lt;A href="https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning"&gt;urllib3#insecureplatformwarning&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It is preferable to use the package "pyopenssl" to connect to HTTPS &amp;gt;
&lt;A href="https://urllib3.readthedocs.org/en/latest/security.html#pyopenssl"&gt;urllib3#pyopenssl&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 11:10:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320289#M7290</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2015-06-09T11:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo-drive and ssl_ciphers</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320290#M7291</link>
      <description>&lt;P&gt;OK thanks for this detailed information.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 12:08:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-and-ssl-ciphers/m-p/320290#M7291</guid>
      <dc:creator>ataillefer_</dc:creator>
      <dc:date>2015-06-09T12:08:56Z</dc:date>
    </item>
  </channel>
</rss>

