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

  • 相关阅读:
    spring boot(二)web综合开发
    spring boot(一)入门
    shiro中单点登录
    shiro中SSL
    shiro中记住我功能
    spring中集成shiro
    OpenResty
    源代码安全审计
    Mycat读写分离 + 主从复制(Gtid)
    关于ansbile
  • 原文地址:https://www.cnblogs.com/wjoyxt/p/8425559.html
Copyright © 2011-2022 走看看