Virtual SVN + Ubuntu 访问 SSL handshake failed

来源:互联网 发布:无锡软件开发公司 编辑:程序博客网 时间:2024/05/20 05:46

解决办法

A. 在终端访问地址和认证没有发生变化的情况下,问题一般出在 Linux 主机上。

    aptitude install libssl0.9.8    aptitude install libneon27    cd /usr/lib    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    logout

为什么要用 aptitude ?
在有些旧的系统版本上,apt-get 无法安装对应的版本。

B. 如果在修改安装以后无法解决问题。
请在 Virtual SVN 安装的windows 主机上做如下操作:
Add the following registry value to the Windows registry:()

    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
  1. Start VisualSVN Server Manager.(打开virsualSVN server)
  2. Go to Action | Properties | Certificate.
  3. Click Change certificate… and follow the wizard instructions to generate a new self-signed certificate.
  4. 在 Ubuntu 主机上执行 svn co 或者 svn up等命令 更新授权。
阅读全文
0 0