【发布时间】:2020-06-30 14:23:20
【问题描述】:
我有以下配置 操作系统:RHEL 7 Git版本:git版本2.18.2 Java:openjdk 版本“1.8.0_242”
当我尝试克隆项目时,出现以下错误:
[root@ip-XX-X-XX-XXX warfiles]# git clone https://gitlab.myproject.git
Cloning into 'ps-cs-wallet-servcies'...
fatal: unable to access 'https://gitlab.myproject.git/': error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small
谁能帮帮我。
谢谢
【问题讨论】:
-
Key too small 是 SSL 实现在 RSA 密钥的密钥长度太小时产生的一种错误(因此“key too small”作为错误字符串)。您需要使用更长的长度生成 RSA 密钥对。见en.wikipedia.org/wiki/Key_size