我已经安装了令人讨厌的红宝石应用程序,配置了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

有人知道我应该怎么解决吗?

谢谢

最佳答案

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

a2enmod乘客

08-26 20:59