You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Client cannot connect to secure TLSv1.2 server #1556
I update my server for security issues to TLSv1.2 connections only,
with following configuration (on my nginx reverse proxy)
# limit ciphers
ssl_ciphers HIGH:!ADH:!MD5;
ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
and client can no longer connect, modify account result in wrong JSON. in the logs, https//xxxx.com/owncloud cannot connect.
this on centOS6.5 desktop and latest MAC OSX (and older version too)
connect manually with browser ( firefox 27+ and latest Safary both supporting TLSv1.2)
to https//xxxx.com/owncloud works.
any plan when we might we able to connect securely to ownCloud?
I haven't completely verified the code, but I believe the sync client uses Mac OS X's own openssl binaries for SSL communication. If that's the case, the version is 0.9.8za, which only supports TLS 1.0. Safari uses its own openssl implementation to provide TLS 1.2 support. I believe mirall would have to supply its own openssl binary in order to support newer versions of TLS.
Apple's security framework doesn't use openssl. So Safari doesn't actually use any version of openssl. Software that doesn't specifically use the security framework will either use the built in version (which is old now) or include their own. iOS apps that need openssl instead of Apples framework need to bundle their own as there is no openssl included in iOS. Maybe the same approach is necessary here or perhaps it's possible to use Apple's framework on mac and openssl on win/linux?
Right. The Secure Transport library. It may be possible to use the library, though this would limit the desktop client to 10.9 Mavericks or newer, if we want TLS 1.2 support. The Mac build of mirall already requires the use of brew to install a couple of necessary libraries, so I wonder if we could use brew to install the latest openssl within the mirall client and then link directly to it rather than the OS X version. Apple deprecated openssl, and there's no plan to ever release a 1.x version, so as long as mirall relies on openssl for OS X rather than Secure Transport, mirall will have to use its own openssl binary.
@lmaestro the latest build does not yet use the new openssl by default! I only enabled it for one single build. @dragotin should we turn it on by default now?
Problem solved,
tested on Mac OSX with nightly build ownCloud-1.7.0.1578-nightly20141205.pkg and
Centos Server
with Apache config :
SSLProtocol TLSv1.2
SSLCipherSuite HIGH:+MEDIUM
and with OpenSSL 1.0.1e-fips 11 Feb 2013
Activity
dgoo2308 commentedon Mar 12, 2014
just checked the windows client and this works on windows 7.
washchuk commentedon Sep 17, 2014
I haven't completely verified the code, but I believe the sync client uses Mac OS X's own openssl binaries for SSL communication. If that's the case, the version is 0.9.8za, which only supports TLS 1.0. Safari uses its own openssl implementation to provide TLS 1.2 support. I believe mirall would have to supply its own openssl binary in order to support newer versions of TLS.
scolebrook commentedon Sep 17, 2014
Apple's security framework doesn't use openssl. So Safari doesn't actually use any version of openssl. Software that doesn't specifically use the security framework will either use the built in version (which is old now) or include their own. iOS apps that need openssl instead of Apples framework need to bundle their own as there is no openssl included in iOS. Maybe the same approach is necessary here or perhaps it's possible to use Apple's framework on mac and openssl on win/linux?
For those interested, this is a reasonable article about Apple deprecating openssl written during the height of heartbleed and a few weeks after Apple's gotofail bug.
http://appleinsider.com/articles/14/04/18/how-apple-dodged-the-heartbleed-bullet
washchuk commentedon Sep 17, 2014
Right. The Secure Transport library. It may be possible to use the library, though this would limit the desktop client to 10.9 Mavericks or newer, if we want TLS 1.2 support. The Mac build of mirall already requires the use of brew to install a couple of necessary libraries, so I wonder if we could use brew to install the latest openssl within the mirall client and then link directly to it rather than the OS X version. Apple deprecated openssl, and there's no plan to ever release a 1.x version, so as long as mirall relies on openssl for OS X rather than Secure Transport, mirall will have to use its own openssl binary.
danimo commentedon Sep 17, 2014
Once we use Qt 5.4 in the builds, it will link against OpenSSl 1.0.1 (which we already ship).
guruz commentedon Dec 2, 2014
Hey everyone, please have a look at #2510 (comment) and re-test.
luciamaestro commentedon Dec 4, 2014
@dgoo2308 Can you verify if it is working in the latest build http://download.owncloud.com/desktop/daily/?
danimo commentedon Dec 4, 2014
@lmaestro the latest build does not yet use the new openssl by default! I only enabled it for one single build. @dragotin should we turn it on by default now?
danimo commentedon Dec 4, 2014
Ok, all new builds are now compiling with a Qt that links to OpenSSL 1.0.1, including the latest one currently available. Please give it a test.
washchuk commentedon Dec 4, 2014
Thank you so much for this!
dgoo2308 commentedon Dec 6, 2014
Problem solved,
tested on Mac OSX with nightly build ownCloud-1.7.0.1578-nightly20141205.pkg and
Centos Server
with Apache config :
SSLProtocol TLSv1.2
SSLCipherSuite HIGH:+MEDIUM
and with OpenSSL 1.0.1e-fips 11 Feb 2013
Thanks
luciamaestro commentedon Dec 11, 2014
It works fine in version 1.7.1beta1