我在从源安装的Kimsufi服务器上安装了Gitlab。 我使用Apache和HTTPS以及自签名证书。 几乎一切都运转良好。
这是问题所在: 我无法通过HTTPS克隆存储库。只有SSH工作正常。
致命:无法访问' https://xxx/xxx/xxx.git/':请求的网址 返回错误:503
我认为问题来自Apache配置(vhost)。 是否有某个日志文件或我可以运行的特定命令来调试此表单客户端或服务器端?
寻求帮助
编辑:
curl的请求结果:
xxx@xxx:~/temp$ curl -v https://xxx.xxx.fr/xxx/xxx.git
* Hostname was NOT found in DNS cache
* Trying xxx.xxx.xxx.xxx...
* Connected to xx.xx.xx (xx.xx.xx.xx) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
* SSL certificate problem: self signed certificate
* Closing connection 0
curl: (60) SSL certificate problem: self signed certificate
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option
我认为我有证书问题......或CA?