pochen
pochen

Reputation: 873

svn on ubuntu: SSLhandshake failed

svn: OPTIONS of 'https://comp20006.eng.unimelb.edu.au/svn/pochen': SSL handshake failed: Secure connection truncated (https://comp20006.eng.unimelb.edu.au)

Hi all, thanks for having a look at this question.

I was using ubuntu 11.10 when I tried to check out my stuff from my university server. Would that be a problem of ubuntu or the server or any other possible things? And how do I fix it?

Thanks.

Upvotes: 1

Views: 5878

Answers (4)

TomS
TomS

Reputation: 1169

In my case it was a problem of multiple virtual hosts using SSL on the same machine. It caused SVN to use a different SSL certificate than expected. What I did was I renamed the subversion.conf file to 00-subversion.conf (Apache 2.4 style...). This made Apache use Subversion certificate first and other certificates for other applications went afterwards (which is OK - contemporary browsers have no problem with that unlike some SVN clients).

Upvotes: 0

Maksym Polshcha
Maksym Polshcha

Reputation: 18358

Try to check your connection

openssl s_client -connect mysvnserver.org:443

This 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.

Upvotes: 1

blutfink
blutfink

Reputation: 412

I got this to work in 12.04 using these instructions:

http://www.yeap.de/blog2.0/archives/260-Subversion-Certificate-Problems-with-Ubuntu-Precise-Pangolin.html

Upvotes: 0

Addicted
Addicted

Reputation: 749

One fine morning i found that my svn update or svn up was not working and was totally blank? :P

Here is what i did to make my svn stand up... :)

  1. sudo apt-get install libneon27

  2. cd /usr/lib

  3. sudo rm libneon-gnutls.so.27

  4. and create a soft link 
       sudo ln -s /usr/lib/libneon.so.27 libneon-gnutls.so.27

and finally i started to rock :)

Upvotes: 2

Related Questions