Skip to content

[OS X] SSL Handshake Failed (Wildcard cert) #2117

Closed

Description

@EgbertW

I have an owncloud server running on a custom port (5555) using SSL. Due to this, I cannot use ssllabs.com as they only test on port 143 and I have no option to change to this port.

Windows ans Linux clients are connecting fine but Mac OS X fails to do so because the SSL Handshake failed.

I'm opening a new issue as this was recommended in issue #712 but it seems to be related. The ServerName variable in the Apache configuration is set to the correct server name, but the certificate is a wildcard certificate (so it is valid for *.mycompany.com instead of cloud.mycompany.com), so they do not match exactly.

Opening the page:

https://cloud.mycompany.com:5555/owncloud/

works just fine, no certificate warnings whatsoever. The server is a Ubuntu 12.04 server with Apache 2.2.22 and it is running OwnCloud 6.0 server.

Any clues on how I get this to work?

Activity

  1. EgbertW commented on Aug 28, 2014

    @EgbertW
    Author

    The openssl s_client command gives an error: unknown option cloud.mycompany.com

    I changed it by adding a = between -servername and cloud.mycompany.com which doesn't give this error anymore but I'm not sure it's right. Anyway, it does not give SSL3 alerts.

    About the server config: I'm quite uncomfortable having to disable protocol implementations on the server because some client implementation fails to work with it. Isn't it the client that should be fixed then? The Linux and Windows OwnCloud clients work fine and browsers also have no issue at all (tested with Firefox, Chrome, Chromium, Konqueror, Rekonq, Epiphany, Safari, Internet Explorer, Opera, Links and Lynx). Command line clients such as wget and curl also have no issues with the certificate.

    If such a wide range of clients all happily accept the certificate without any issues using a variety of toolkits such as Cocoa, GTK, Qt, Windows API, it seems to me this is a problem with the client and not with the server, right?

  2. EgbertW commented on Aug 28, 2014

    @EgbertW
    Author

    By the way, I'm uncomfortable with publishing the URL of the actual server here, but if someone wants to have a look at it I'd be happy to mail the URL in private. Alternatives to SSLLabs that do accept uncommon HTTPS ports could also help.

  3. EgbertW commented on Aug 28, 2014

    @EgbertW
    Author

    You're right, I actually saw that message but since it was posted several months ago and not directed at me personally I didn't know if Danimo is still the person I should send it to. Anyway, I just sent the server URL to Danimo. Thanks for the help so far.

  4. EgbertW commented on Sep 17, 2014

    @EgbertW
    Author

    Any hints/solutions? It's quite time-consuming to synchronize all files through the web interface...

  5. luciamaestro commented on Sep 25, 2014

    @luciamaestro
  6. changed the title [-]Client on OSX failed : SSL Handshake Failed (Wildcard cert)[/-] [+][OS X] SSL Handshake Failed (Wildcard cert)[/+] on Nov 17, 2014
  7. guruz commented on Dec 2, 2014

    @guruz
    Contributor

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

  8. added this to the 1.7.1 milestone on Dec 2, 2014
  9. luciamaestro commented on Dec 3, 2014

    @luciamaestro

    @madegg Can you test it ? Is it fixed?

  10. guruz commented on Dec 16, 2014

    @guruz
    Contributor

    @madegg I'm quite confident this is fixed with 1.7.1... if not please comment..

  11. EgbertW commented on Dec 16, 2014

    @EgbertW
    Author

    I'm sorry, been busy. I can confirm that it works now. Thanks!

  12. guruz commented on Dec 16, 2014

    @guruz
    Contributor

    Great to hear :)

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