代码托管 CodeArts Repo-代码托管服务升级TLS协议版本:处理方法

时间:2023-11-01 16:16:53

处理方法

  • 如果您的GitBash版本低于2.6.0,请将您本地的Git客户端升级到最新版本,最新版本的Git客户端默认支持TLSv1.2协议。
  • 您也可以使用如下命令检查本地的GitBash的TLS版本:
    git config http.sslVersion

    如果是TLSv1.0,则用下面一句命令行更新至TLSv1.2

    git config --global http.sslVersion tlsv1.2
support.huaweicloud.com/codehub_faq/codehub_faq_0004.html