svn不能checkout的问题
来源:互联网 发布:如何提高淘宝等级 编辑:程序博客网 时间:2024/05/22 15:29
原文:http://ju.outofmemory.cn/entry/47112 Ubuntu SVN客户端连接windows VisualSVN SSL证书问题
我看到的是第一个网址,但是他的文章中提到他是转载的:
问题
英文:svn: OPTIONS of 'https://server.domain.local/svn/repo': SSL handshake failed: SSL error:
Key usage violation in certificate has been detected. (https://server.domain.local)
中文:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法。
解决方案
Symptoms
Subversion clients receive the following error message when attempting to connect to VisualSVN Server:
Key usage violation in certificate has been detected. (https://server.domain.local)
You may experience the issue if both of the following conditions are met:
- VisualSVN Server has a self-signed certificate applied and
- Subversion client is built against the GnuTLS library.
Technical background
During the initial setup VisualSVN Server 2.5 generates a self-signed certificate and adds it to the Trusted Root Certification Authorities store on the local machine. To avoid possible security issues, VisualSVN Server makes this self-signed certificate to be valid for server authentication only (by specifying the 'Key Usage' extension). Subversion clients built against GnuTLS don't recognize such certificate and the error occurs.
Workaround
It's not recommended to use a self-signed certificate in a production environment. We advise to use a certificate issued by your domain or a third-party certificate authority instead of a self-signed one.
If you have to use a self-signed certificate please follow the instruction to generate a cerificate without specifying 'Key Usage' extension:
- Add the following registry value to the Windows registry(修改注册表,添加一条dword类型的键值):
- for 32-bit system:
[HKEY_LOCAL_MACHINE\SOFTWARE\VisualSVN\VisualSVN Server]
点击VisualSVNServer后右端出现了一个列表,在空白位置右键增加类型为dword,字段名为CreateGnuTLSCompatibleCertificate 值为00000001选择为16进制,可以解决这个问题
"CreateGnuTLSCompatibleCertificate"=dword:00000001
- for 64-bit system:(我的服务器是32位的,64位没有验证过)
- for 32-bit system:
- Start VisualSVN Server Manager.
- Go to Action | Properties | Certificate.
- Click Change certificate...(重新生成新证书) and follow the wizard instructions to generate a new self-signed certificate.
The certificate will be generated without the 'Key Usage' extension and will be compatible both with GnuTLS and OpenSSL.
- svn不能checkout的问题
- SVN服务器添加过用户权限,用户不能正常checkout问题
- svn无法checkout问题
- google code不能checkout问题
- 解决ubuntu 10.04 下svn checkout 失败的问题
- 解决ubuntu 10.04 下svn checkout 失败的问题
- SVN Checkout Failed的解决办法
- svn 的基本操作 checkout
- SVN的checkout和export
- SVN checkout
- SVN checkout
- svn - checkout过的目录,如何再变回非checkout状态
- MyEclipse中add jars和add external jars的区别带来的svn checkout的问题
- SVN checkout 之后图标(绿色勾之类的)没有显示出来的问题
- 带用户名和密码的SVN checkout
- 让 svn 支持 https 协议的 checkout
- 让svn支持https协议的checkout
- SVN 进行checkout时的url
- win7下在VMware中设置防火墙打开/关闭
- cocos2dx内嵌gamecenter时的解决方案
- EditText 隐藏密码 字体样式被改变
- apache做端口转发
- C语言两数组合并
- svn不能checkout的问题
- redis简单例子
- Fragment+RadioGroup来搭建一下简单的页面架构
- 安装svn出现的小问题 Failed to load JavaHL Library
- 虚拟机win2012安装
- 了解iOS开发中的特殊UIView之UIWindow
- 传递闭包计算warshall算法C语言实现
- linux 使用vi查看文件16进制编码
- 纯js 连连看,多套图片连连看