zoukankan      html  css  js  c++  java
  • linux下svn不能连接上windows服务器:SSL handshake failed: SSL error

    在linux服务器下载https链接的svn源码时出现:SSL handshake failed: SSL error: Key usage violation in certificate has been detected

    错误原因是windows使用的证书linux不能识别

    Add the following registry value to the Windows registry:(我的是64位)

    • for 32-bit system:(运行regedit->找到下面的注册表项->增加一个dword类型的值

      [HKEY_LOCAL_MACHINESOFTWAREVisualSVNVisualSVN Server]
      "CreateGnuTLSCompatibleCertificate"=dword:00000001
            
    • for 64-bit system:

      [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeVisualSVNVisualSVN Server]
      "CreateGnuTLSCompatibleCertificate"=dword:00000001
    1. Start VisualSVN Server Manager.(打开virsualSVN server)
    2. Go to Action | Properties | Certificate.
    3. Click Change certificate...
    4. 选Create new self-signed cetificate.
    5. 全部下一步即可。

    Linux下再次执行svn,会提示证书生成者不受信赖的警告,选择永久接受即可

    # svn checkout https://192.168.55.10/svn/ztyq/codes/biz/trunk/biz-web

    (R)eject, accept (t)emporarily or accept (p)ermanently? p

  • 相关阅读:
    JavaScript解析顺序和变量作用域
    JS-BOM
    原生对象-Array
    JavaScript01
    css3动画
    scc的使用
    CSS3学习总结
    Js数组方法大全
    JavaScript判断变量是否为数组
    浏览器兼容性问题及解决方案
  • 原文地址:https://www.cnblogs.com/wjoyxt/p/8425559.html
Copyright © 2011-2022 走看看