0

我已经安装了 gitorious ruby​​ 应用程序,配置了 apache 乘客和虚拟主机。一切正常,但我不能 git push

[17:41:29] Thiago: git push https://usa5.vsnetwork.net/testedogit/testedogit
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt     
CRLfile: none while accessing https://usa5.vsnetwork.net/testedogit/testedogit/info/refs

fatal: HTTP request failed

我的虚拟主机配置

<VirtualHost *:80>
   ServerName usa5.vsnetwork.net
   DocumentRoot /var/www/gitorious/public
</VirtualHost>

<IfModule mod_ssl.c>
  <VirtualHost _default_:443>
   DocumentRoot /var/www/gitorious/public
   SSLEngine on
   SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
   SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
   BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
 </VirtualHost>
</IfModule>

规格:Ubuntu 11.04、Apache 2.2、Ruby Enterprise 1.8、Passenger 3.0.8

任何人都知道我该如何解决它?

谢谢

4

2 回答 2

0

您是否启用了 apache 乘客模块?

a2enmod 乘客

于 2012-05-08T07:09:33.990 回答
0

Gitorious 目前不支持 https 推送,但有一个使用 JRuby 实现它的存储库:https ://gitorious.org/gitorious/mutt

于 2012-05-08T17:07:27.457 回答