IT Staff

Blog về chuyên ngành IT

SVN Ubuntu 12.04 :: Resolve SSL Checkout Problems

leave a comment »


Subversion & Certificate Problems with Ubuntu Precise Pangolin
Wednesday, May 2. 2012
For quite a while the Ubuntu subversion package suffer from bad user certificates that do not follow the standards strictly. In case you have to authenticate with such a certificate subversion will return such an error message:

OPTIONS of ”: SSL handshake failed: SSL error: Key usage violation in certificate has been detected. ()
The root of this problem is that the Ubuntu packages link against libneon-gnutls, which handles certificates in a stricter way than libneon. A easy workaround in the past was to simply replace a replace the library link of libneon-gnutls to point to libneon:

sudo mv /usr/lib/ /usr/lib/
sudo ln -s /usr/lib/ /usr/lib/

However once you do this in Ubuntu 12.04 Precise Pangolin you will get a another error message instead:

OPTIONS of ‘: SSL handshake failed: SSL disabled due to library version mismatch ()

After quite some googling it turned out that there is a bug in the version of libneon bundled with Precise that causes this problem. Fortunately this is already fixed with version 0.29.3. To get back to a working subversion perform these steps:

Uninstall the current libneon package:
sudo apt-get remove libneon27>
Download the latest libneon package from (at the bottom you can choose the right version for your architecture).
Install the required libssl dependency:
sudo apt-get install libssl0.9.8
Install the downloaded libneon package. E.g. for the 64Bit architecture:
dpkg -i libneon27_0.29.3-3_amd64.deb
Change the symbolic links again like described above:
sudo mv /usr/lib/ /usr/lib/
sudo ln -s /usr/lib/ /usr/lib/
And finally subversion should be working again.

Written by Xavier

Tháng Bảy 5, 2013 lúc 1:32 sáng

Posted in Staff

Tagged with , ,

Trả lời

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập: Logo

Bạn đang bình luận bằng tài khoản Đăng xuất /  Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Đăng xuất /  Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Đăng xuất /  Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Đăng xuất /  Thay đổi )

Connecting to %s

%d bloggers like this: