CentOS   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了CentOS下连VisualSVN服务器时报SSL handshake failed: SSL error: Key usage violation in certificate has been d大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

CentOS/RHel yum 默认安装的 subversion 是 1.6.11 版本,连VisualSVN服务器时或变更svn地址定位时会有"Key usage violation"的错误,如下 svn: OPTIONS of ' https://.../server': SSL handshake failed: SSL error: Key usage violation in certi
CentOS/RHel yum 认安装的 subversion 是 1.6.11 版本,连VisualSVN服务器时或变更svn地址定位时会有"Key usage violation"的错误,如下
svn: OPTIONS of ' https://.../server': SSL handshake Failed: SSL error: Key usage violation in certificate has been detected. ( https://... )

网上查到,将subversion升级到最新版可@L_607_6@该问题:
Install Subversion 1.8.9 ( SVN Client ) on CentOS/RHel
Thanks to Wandisco,which is maintaining the rpm packages for latest Subversion version.
( http://tecadmin.net/install-subversion-1-8-on-centos-rhel/ )
按指示设置新的yum源,然后安装:
1.添加源(没有就新建文件)
vim /etc/yum.repos.d/wandisco-svn.repo
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl= http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
2、yum删除旧的包
yum remove subversion*
3.安装新的包
yum clean all

yum -y install subversion


SVN地址变更:

svn up #先更新本地

https://www.yiwindow.com/svn/hynhyh 变更为https://svn.weixinyiwindow.com/svn/hynhyh

svn sw --relocate https://www.yiwindow.com/svn/hynhyh https://svn.weixinyiwindow.com/svn/hynhyh



好了,现在试试SVN的版本
svn --version
svn,version 1.8.15 (r1718365)
compiled Dec 11 2015,14:28:48 on x86_64-redhat-linux-gnu
Copyright (C) 2015 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software,see http://subversion.apache.org/
问题解决

大佬总结

以上是大佬教程为你收集整理的CentOS下连VisualSVN服务器时报SSL handshake failed: SSL error: Key usage violation in certificate has been d全部内容,希望文章能够帮你解决CentOS下连VisualSVN服务器时报SSL handshake failed: SSL error: Key usage violation in certificate has been d所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。