---
title: "解决svn错误 SSL handshake failed: SSL error"
author: "clark1231"
date: "2013-05-28T13:10:16Z"
tags: ["SVN"]
categories: ["开源软件"]
slug: "svn-ssl-handshake-failed-ssl-error"
draft: false
lastmod: "2013-05-28T13:10:16Z"
id: 1878764
url: "https://caok1231.iteye.com/blog/1878764"
---

svn 处理：SSL handshake failed: SSL error: Key usage violation in certificate has been detected

 

12.04：

 Uninstall the current libneon package:

1. `sudo apt-get remove libneon27`
2. Download the latest libneon package from[http://packages.debian.org/squeeze/libneon27](http://packages.debian.org/squeeze/libneon27)  (at the bottom you can choose the right version for your architecture).
   
   1. 32位下载：http://ftp.cn.debian.org/debian/pool/main/n/neon27/libneon27\_0.29.3-3\_i386.deb
   2. 64位下载：http://ftp.cn.debian.org/debian/pool/main/n/neon27/libneon27\_0.29.3-3\_amd64.deb
3. Install the required libssl dependency:  
   `sudo apt-get install libssl0.9.8`
4. Install the downloaded libneon package. E.g. for the 64Bit architecture:  
   `dpkg -i libneon27_0.29.3-3_amd64.deb 或`libneon27\_0.29.3-3\_i386.deb
5. Change the symbolic links again like described above:  
   `sudo mv /usr/lib/libneon-gnutls.so.27 /usr/lib/libneon-gnutls.so.27.old sudo ln -s /usr/lib/libneon.so.27 /usr/lib/libneon-gnutls.so.27`