linux下svn不能连接上windows服务器:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法
2015-03-31 23:38
621 查看
转载自: /article/8824474.html
之前已经在windows2003上用visualSVN配置好了SVN服务器,并且在windows虚拟机的客户端可以正常使用。
但是,今天在unbuntu11.10上尝试运行svn,就装了一个subversion.但是使用时报了类似下面的错:
svn: 方法 OPTIONS 失败于 “https://1.0.0.2:8443/svn/xxx”: SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法。 (https://1.0.0.2:8443)
上网找了一个英文的网页,解决了该问题。现在记录下来。
原文:http://www.visualsvn.com/support/topic/00056/
错误原因是windows使用的证书linux不能识别。
改正方法是:修改服务器上visualsvn使用的证书为第三方产生的证书,以便windows和linux都能识别。
过程:
Add the following registry value to the Windows registry:(我的是32位)
for 32-bit system:(运行regedit->找到下面的注册表项->增加一个dword类型的值)
for 64-bit system:
Start VisualSVN Server Manager.(打开virsualSVN server)
Go to Action | Properties | Certificate.
Click Change certificate... and follow the wizard instructions to generate a new self-signed certificate.
再次执行svn,会提示证书生成者不受信赖的警告,选择永久接受即可。
这样问题就解决了。
之前已经在windows2003上用visualSVN配置好了SVN服务器,并且在windows虚拟机的客户端可以正常使用。
但是,今天在unbuntu11.10上尝试运行svn,就装了一个subversion.但是使用时报了类似下面的错:
svn: 方法 OPTIONS 失败于 “https://1.0.0.2:8443/svn/xxx”: SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法。 (https://1.0.0.2:8443)
上网找了一个英文的网页,解决了该问题。现在记录下来。
原文:http://www.visualsvn.com/support/topic/00056/
错误原因是windows使用的证书linux不能识别。
改正方法是:修改服务器上visualsvn使用的证书为第三方产生的证书,以便windows和linux都能识别。
过程:
Add the following registry value to the Windows registry:(我的是32位)
for 32-bit system:(运行regedit->找到下面的注册表项->增加一个dword类型的值)
[HKEY_LOCAL_MACHINE\SOFTWARE\VisualSVN\VisualSVN Server] "CreateGnuTLSCompatibleCertificate"=dword:00000001
for 64-bit system:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VisualSVN\VisualSVN Server] "CreateGnuTLSCompatibleCertificate"=dword:00000001
Start VisualSVN Server Manager.(打开virsualSVN server)
Go to Action | Properties | Certificate.
Click Change certificate... and follow the wizard instructions to generate a new self-signed certificate.
再次执行svn,会提示证书生成者不受信赖的警告,选择永久接受即可。
这样问题就解决了。
相关文章推荐
- linux下svn不能连接上windows服务器:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法
- linux下svn不能连接上windows服务器:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法
- linux下svn不能连接上windows服务器:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法
- linux下svn不能连接上windows服务器:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法
- linux下svn不能连接上windows服务器:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法
- linux svn错误:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法。
- linux下svn不能连接上windows服务器:SSL handshake failed: SSL error
- SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法。
- linux下svn不能连接上windows服务器:SSL handshake failed: SSL
- SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法
- 【转载】Linux下SVN 检出windows SVN服务器上的项目出错:SSL handshake failed
- 解决Linux下Svn检出Windows SVN服务器上项目SSL handshake failed: SSL error: Key usage violation in certificate ha
- linux上svn连接visual svn server时ssl鉴权失败,问题解决 SSL handshake failed: SSL error: Key usage violation in ce
- linux svn SSL handshake failed: SSL error
- centos下Svn检出Win2008 SVN服务器上项目SSL handshake failed: SSL error: Key usage violation in certificate ha
- 为微信小程序搭建https服务,证书申请及配置。Apache服务器。重点描述request:fail ssl hand shake error 错误
- 【svn错误】SSL handshake failed: SSL disabled due to library version mismatch (https://192.168.50.4)
- 在阿里云linux下使用SVN访问VisualSVN出错:SSL handshake failed: SSL error: Key usage violation in certificate has been detected
- centos svn checkout 错误 SSL handshake failed: SSL error: Key usage violation in certificate has bee
- SVN Fixing “SSL handshake failed: SSL error: Key usage violation in certificate has been detected.”