小编Jus*_*tas的帖子

使用 HTTPS 的 Gitlab git 克隆 - 无法获取本地颁发者证书

当我使用时git clone https://my.example.com/gitlab/java/repository.git,我得到

克隆到“存储库”...
致命:无法访问“ https://my.example.com/gitlab/java/repository.git”:SSL证书问题:
无法获取本地颁发者证书

如果我设置的话效果很好git config --global http.sslVerify false

Gitlab 与 Apache2 和 SSL 一起使用,转发到 gitlab-workhorse。有关配置的更多详细信息:用于存储库克隆的 Gitlab HTTPS URI 不起作用 - SSL 主机无法验证 - 致命:无法访问

我尝试添加 SSL 证书,因为它们与 Apache 配置中的相同,但没有帮助:

nginx['ssl_certificate'] =“/etc/gitlab/ssl/my.example.com.crt”
nginx['ssl_certificate_key'] =“/etc/gitlab/ssl/my.example.com.key”

如何配置它以通过 HTTPS 进行 git 操作而不禁用验证?

ssl git eclipse gitlab apache-2.4

5
推荐指数
1
解决办法
2万
查看次数

Ubuntu 服务器时间不正确

我使用 14.04.1-Ubuntu。date在命令行中执行时,我得到的时间与格林威治标准时间或其他来源相比大约有 1 分钟的差异。sudo ntpdate -s time.nist.gov几个月前我用它同步了它,但它又跳了。为什么会发生?如何在 Ubuntu 上持续保持准确的时间?

ubuntu time time-synchronization date timestamp

-2
推荐指数
2
解决办法
1820
查看次数

标签 统计

apache-2.4 ×1

date ×1

eclipse ×1

git ×1

gitlab ×1

ssl ×1

time ×1

time-synchronization ×1

timestamp ×1

ubuntu ×1