【问题标题】:SSL error while cloning from github enterprise on AWS EC2 instance从 AWS EC2 实例上的 github 企业克隆时出现 SSL 错误
【发布时间】:2015-09-28 05:31:32
【问题描述】:

我的最终目标是能够使用 Elastic Beanstalk 从我们的 github 企业服务器进行 pip 安装。问题是 ec2 实例不信任来自 Network Solutions 的 SSL 证书。

来自 Elastic Beanstalk Python EC2 实例的回溯:

>> git clone https://my.ghe.com/some/repo.git
Cloning into 'squire'...
fatal: unable to access 'https://my.ghe.com/some/repo.git/': Peer's Certificate issuer is not recognized.

我尝试了六种可能的修复方法,但均无济于事。有没有人通过https成功克隆?我想避免通过 ssh 进行克隆,所以我不必处理 eb 中的 ssh 密钥。

【问题讨论】:

    标签: ssl amazon-web-services amazon-ec2 amazon-elastic-beanstalk github-enterprise


    【解决方案1】:

    查看有关使用 git config 禁用 SSL 验证和其他 SSL 覆盖选项的答案:

    How can I make git accept a self signed certificate?

    【讨论】:

      猜你喜欢
      • 2014-04-08
      • 1970-01-01
      • 1970-01-01
      • 2020-04-01
      • 2011-01-12
      • 2021-11-28
      • 2013-04-23
      • 2015-08-23
      • 2012-08-25
      相关资源
      最近更新 更多