SVN over HTTPS and SSL handshake fails

26,466

Solution 1

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.

Solution 2

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 ?

Share:
26,466

Related videos on Youtube

themaestro
Author by

themaestro

Updated on September 17, 2022

Comments

  • themaestro
    themaestro over 1 year

    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?

    • usr-local-ΕΨΗΕΛΩΝ
      usr-local-ΕΨΗΕΛΩΝ over 13 years
      I believe you have to supply SVN with an appropriate argument for client certificate. Can't find information on that...
    • moinudin
      moinudin over 13 years
    • Admin
      Admin over 13 years
      no luck with the link, already setup like that :(
    • kokeksibir
      kokeksibir over 10 years
      I had the same problem. It turned out, I hadn't add ServerName in virtualhost definiton in Apache. Once I added ServerName myproject.myserver.org for subversion vhost configuration, problem resolved.
    • Mike Crawford
      Mike Crawford about 6 years
      Posterus is no more. Perhaps that link got archived by the payback machine: web.archive.org
  • Mojo
    Mojo almost 13 years
    Just one hyphen on the -connect option.