Skip to content

[OS X] [SSL] Use shipped OpenSSL #2510

Closed

Description

@guruz

We need this since OS X ships an old version.
I got this all working locally with

  • having OpenSSL installed via homebrew
  • then neon compiled via homebrew with --build-from-source to make sure it is using homebrew's OpenSSL.
  • Then use this to configure Qt:
 OPENSSL_LIBS="-L/usr/local/opt/openssl/lib -I/usr/local/opt/openssl/include -lcrypto -lssl" ../qt5/configure   -v -nomake examples  -nomake tests  -developer-build -skip qtenginio -skip enginio -openssl-linked -I/usr/local/opt/openssl/include

Our make install scripts will properly grab the right OpenSSL and put it into the ownCloud.app bundle.

This is IMHO a must-have for 1.8.

Activity

  1. added this to the 1.8 - UI Enhancements milestone on Nov 17, 2014
  2. danimo commented on Nov 17, 2014

    @danimo
    Contributor

    We also need to make sure that neon links the new openssl.

  3. guruz commented on Nov 17, 2014

    @guruz
    ContributorAuthor

    This should fix
    #1556
    #2315
    #2117
    #1885
    #2315

    It does NOT depend on Qt 5.4.

  4. guruz commented on Nov 17, 2014

    @guruz
    ContributorAuthor

    @danimo sure.

    ../install/owncloud.app/Contents/MacOS/libneon.27.dylib:
        @executable_path/../Frameworks/libneon.27.dylib (compatibility version 31.0.0, current version 31.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
        @executable_path/../MacOS/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        @executable_path/../MacOS/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version 5.0.0, current version 6.0.0)
        /usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
    

    Read above, you do that by forcing a source install.

  5. danimo commented on Dec 1, 2014

    @danimo
    Contributor

    Also, make sure to specify -sdk for Qt, to make sure it still runs on older OS X versions.

  6. danimo commented on Dec 2, 2014

    @danimo
    Contributor
  7. added
    ReadyToTest
    on Dec 2, 2014
  8. djk commented on Dec 2, 2014

    @djk

    danimo, confirmed working here, thanks!

  9. guruz commented on Dec 2, 2014

    @guruz
    ContributorAuthor

    @djk Can you also confirm on the original issue? Thanks

  10. nrbrt commented on Dec 2, 2014

    @nrbrt

    I tested this last client and I can confirm that this client works for me now.
    Tested on Apache 2.4, reverse proxied, only TLS1.0, TLS1.1, TLS1.2 support enabled.
    Client: OSX 10.10.1
    Thanks!

  11. stvltvs commented on Dec 4, 2014

    @stvltvs

    It seems to be working for me.

  12. luciamaestro commented on Dec 4, 2014

    @luciamaestro

    If anyone is able to reproduce, please reopen it. Thx

  13. dragotin commented on Dec 4, 2014

    @dragotin
    Contributor

    @lmaestro its very important to have SSL testing with the builds we provide to make sure they work and use the custom lib that we ship.

  14. removed
    ReadyToTest
    on Dec 4, 2014
  15. reopened this on Dec 4, 2014
  16. danimo commented on Dec 4, 2014

    @danimo
    Contributor

    Let's not close this before we enable the new Qt in the build server.

  17. danimo commented on Dec 4, 2014

    @danimo
    Contributor

    We now do by default, closing :)

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions