从AWS EC2实例上的github企业克隆时出现SSL错误

时间:2015-07-09 17:22:56

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

我的最终目标是能够使用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密钥。

1 个答案:

答案 0 :(得分:0)

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

How can I make git accept a self signed certificate?