解决svn一直报Error validating server certificate的问题

在主要还是用svn做版本控制,而为了代码在传输过程中的安全性,如果能有HTTPS,我还是会尽量选择用HTTPS。可是最近有一个问题很烦人,由于公司的证书问题,svn在做ca认证的时候发现有错,于是就出现了如下错误提示:

Error validating server certificate for 'https://xxxxxxx':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: xxxxxxx
 - Valid: xxxxxxx
 - Issuer: xxxxxx
 - Fingerprint: xxxxxxxxx
(R)eject, accept (t)emporarily or accept (p)ermanently? 

照理直接按p就可以让svn以后忽略这个问题了,但是很奇怪,即便摁了p,下次操作时还是会提示同样的错误,让人无法蛋定。

在默默忍受了这个问题许久之后,今儿在home列目录时突然发现,咋这么多root的目录,其中就有.subversion,我每次的操作都没有记录,难道就是因为这个导致权限不足无法保存设置么……于是立刻chown了一下,问题果然解决,我勒个去……

总结教训,下次再发现啥软件设置无法保存的情况,先检查检查配置文件或目录的权限再说。不过,话说,这svn也不提示啥的,太无良了 = =|||

对“解决svn一直报Error validating server certificate的问题”的2条评论

  1. Avatar

    jay你好:
    我和你的问题一样,但却不知道怎么解决,你说得我也看不明白,还希望你能详细些,谢谢!我的是在windows系统下。等你!!!!!!

    展开回复(1)

    收起回复

  2. Avatar
    回复:匿名: jay你好: 我和你的问题一样,但却不知道怎么解决,你说得我也看不明白,还希望...

    好久没用windows了,就不太明白了。如果是NTFS的话,用Administrator把响应文件权限改一下试试呢?

发表评论

评论备注:

  1. 留言时的头像是Gravatar提供的服务。
  2. By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. So, you don't fully own your words, so to speak.