git clone:SSL: no alternative certificate subject name matches target host name

git clone 时的常见错误:

  1. fatal: unable to access 'https://ip_or_domain/xx/xx.git/': SSL: no alternative certificate subject name matches target host name 'ip_or_domain'

    解决办法: disable ssl verify
Bash 复制代码
git config --global http.sslVerify false
  1. remote: HTTP Basic: Access denied
    remote: You must use a personal access token with 'read_repository' or 'write_repository' scope for Git over HTTP.
    remote: You can generate one at https://ip_or_domain/profile/personal_access_tokens
    fatal: Authentication failed for 'https://ip_or_domain/xxx/xxx.git/'

    解决办法:生成access token
    按提示进入 https://ip_or_domain/profile/personal_access_tokens ip_or_domain 是你具体项目的地址

    git clone 时,需要输入密码的地方, 输入你生成的 access token
相关推荐
m0_617493942 小时前
SSLError [ASN1: NOT_ENOUGH_DATA] 问题排查与解决指南
python·ssl
louis.D.4 小时前
git 删除标签完整步骤总结
git
IPdodo_4 小时前
代理 IP 服务商 SLA 怎么验?7 项指标与 Python 探测脚本实战
运维·python·网络协议·网络安全·代理ip
晴天166 小时前
Git 图形界面工具现状-Day28
git
夜月yeyue6 小时前
SOME/IP-SD 服务发现故障
网络·单片机·网络协议·tcp/ip·安全·服务发现
2501_916008896 小时前
iOS App 请求地址查看,不用配置看到 App 调了哪些接口
网络协议·计算机网络·网络安全·ios·adb·https·udp
AD_youyu8 小时前
Git 安装教程
git
爱学堂IT分享9 小时前
码神之路-Netty-从零实现RPC框架+SpringBoot实战项目教程
spring boot·网络协议·rpc
hj2862519 小时前
Git 与 DevOps/CI/CD 核心知识整理
git
中科三方10 小时前
DNS解析中的“委派“是什么意思?如何正确配置NS记录?
git·github·dns解析