0

我的VMware上有两个CentOS linux,其中一个是CentOS 6.2 32bit,另一个是CentOS 6.4 64bit它们都使用桥接模式连接到我的网络并具有单独的IP,但是当我尝试对svn checkout时,CentOS 6.2 32bit出现以下错误:

root:shell> svn co https://192.168.18.12/repos/src/myproject

svn:' https ://192.168.18.12/repos/src/myproject'的选项:SSL握手失败:SSL错误:已收到TLS警告警报。( https://192.168.18.12 )

但我对 svn in 没有任何问题,CentOS 6.4 64bit一切都很好。

错误到底是什么意思?我该如何解决这个问题?

PS:两个Linux上的svn版本都是1.6.11(r934486)
,我可以说我有另一个用户(除了root)CentOS 6.4 64bit(工作正常),但在我有故障CentOS 6.2 32bit的linux中,我只有一个root帐户,没有其他用户(如果这与主题有关)。

PS2:我可以成功地ping该IP,并且使用我的svn repos的用户名和密码在Firefox浏览器中正确打开。

更新

ssl.config也在这里发布我的文件:

LoadModule ssl_module modules/mod_ssl.so
Listen 443
SSLPassPhraseDialog  builtin
SSLSessionCache         shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout  300
SSLMutex default
SSLRandomSeed startup file:/dev/urandom  256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
    ErrorLog logs/ssl_error_log
    TransferLog logs/ssl_access_log
    LogLevel warn
    SSLEngine on
    SSLProtocol all -SSLv2
    SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
    SSLCertificateFile /etc/pki/tls/certs/localhost.crt
    SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
        SSLOptions +StdEnvVars
    </Files>
    <Directory "/var/www/cgi-bin">
        SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
    CustomLog logs/ssl_request_log \
              "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>          

当我得到apachectl configtest答案时:

httpd:无法可靠地确定服务器的完全限定域名,使用 localhost.localdomain 作为 ServerName
语法 OK

4

1 回答 1

0

可能的错误可能是 svn 命令行上使用的地址与 apache 的 ssl.conf 中的 ServerName 不匹配。尝试更新 ssl.conf 文件中的 ServerName。

于 2015-11-10T08:31:15.273 回答