qt - Qt5 ssleay32.dll SSL Handshake failed error

06
2014-04
  • Chris

    I have a Qt5 app that uses SSL. App works perfect on my computer and 20 VMs.

    On another 10 VMs it gets "SSL Handshake failed" error.

    Those 10 VMs have the same C++ runtimes and apps installed as the 20 VMs that works (all 30 VMs started with the same starting image).

    App has ssleay32 + libeay32.dll in its folder.

    The 10 VMs it doesnt work on, are the oldest out of the 30. So its definitely a setting or missing dependency or something along those lines.

    Any idea what could be causing this?

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    SVN over HTTPS and SSL handshake fails
  • themaestro

    I am trying to checkout from my team's svn server. It requires client side authentication. I'm running Ubuntu 10.04.

    Here's what I get:

    $ svn checkout https://myproject.myserver.org/svn/project/ svn: OPTIONS of 'https://myproject.myserver.org/svn/project/': Could not read status line: SSL alert received: Handshake failed (https://myproject.myserver.org)

    Has anybody else seen a similar problem?


  • Related Answers
  • Brad Patton

    Is it still not working? Time to break out the big guns. First, try to browse to it from the same server, see if you get the expected folder listing. If it fails, you might get a better reason, and if not, fire up OpenSSL instead:

    openssl s_client -connect myproject.myserver.org:443
    

    will give you a log of information about each step of the handshake, and the --debug option will show even more detail. It'll complain about having an invalid cert, bad time, or only outdated algorithms.

    Of course, make sure you can even ping it and that https isn't firewalled off for some reason.

  • Flávio Botelho

    Maybe the problem is that you are using a new version of Collabnet's client as in http://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&dsMessageId=364471 ?