Skip to content

Client cannot connect to secure TLSv1.2 server #1556

Closed

Description

@dgoo2308

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?

Activity

  1. dgoo2308 commented on Mar 12, 2014

    @dgoo2308
    Author

    just checked the windows client and this works on windows 7.

  2. washchuk commented on Sep 17, 2014

    @washchuk

    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.

  3. scolebrook commented on Sep 17, 2014

    @scolebrook
    Contributor

    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

  4. washchuk commented on Sep 17, 2014

    @washchuk

    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.

  5. danimo commented on Sep 17, 2014

    @danimo
    Contributor

    Once we use Qt 5.4 in the builds, it will link against OpenSSl 1.0.1 (which we already ship).

  6. guruz commented on Dec 2, 2014

    @guruz
    Contributor

    Hey everyone, please have a look at #2510 (comment) and re-test.

  7. added this to the 1.7.1 milestone on Dec 2, 2014
  8. danimo commented on Dec 4, 2014

    @danimo
    Contributor

    @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?

  9. danimo commented on Dec 4, 2014

    @danimo
    Contributor

    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.

  10. washchuk commented on Dec 4, 2014

    @washchuk

    Thank you so much for this!

    On Dec 4, 2014, at 7:27 AM, Daniel Molkentin [email protected] wrote:

    Ok, all new builds are now compiling with a Qt that links to OpenSSL 1.0.1.

    —
    Reply to this email directly or view it on GitHub #1556 (comment).

  11. added
    ReadyToTest
    on Dec 5, 2014
  12. dgoo2308 commented on Dec 6, 2014

    @dgoo2308
    Author

    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

  13. added and removed
    ReadyToTest
    on Dec 10, 2014
  14. luciamaestro commented on Dec 11, 2014

    @luciamaestro

    It works fine in version 1.7.1beta1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions