git - 无法在 rhel 上克隆项目
问题描述
我有以下配置操作系统: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
有人能帮我一下吗。
谢谢
解决方案
通过将加密策略设置为 LEGACY 解决了这个问题。
我已经执行了以下命令:
$ update-crypto-policies --show
它最初设置为“DEFAULT”。
因此,我通过执行以下命令将其更改为 LEGACY。
$ update-crypto-policies --set LEGACY
谢谢您的帮助。
推荐阅读
- wordpress - WooCommerce 中的 PayPal 问题
- tensorflow - 为什么 LSTM Output_shape 与 input_shape 不同
- android - Facebook 横幅、插页式广告和奖励广告在片段中加载
- c# - 如何按顺序获得每个学生的最高分
- ionic-framework - 如何使用 ImagePicker 在 Ionic Native 中选择图像并显示
- objective-c - EXC_BAD_ACCESS 在类继承 RCTEventEmitter 中获取静态 NSString 变量的值时
- jquery - 为什么我的代码不向表格元素追加新行?
- flutter - 颤振间隔器与扩展
- python - 没有用户状态上下文可用谷歌云数据流?
- python - 选择 NUKE 节点,其中节点的类以字符串“OFXuk”开头