SVN 错误:Error validating server certificate for 'https://xxxxxxx':443... Mac os svn客户端证书验证缓存 解决


mac上的SVN今天突然间 不好使了 在进行SVN操作是报出警告信息

Error validating server certificate for 'https://xxxxxxx':443
 - 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? 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

照理直接按p就可以让svn以后忽略这个问题了,但是很奇怪,即便选择了p,下次操作时还是会提示同样的经过高,如果我只用命令操作问题 
也不是太大,但是如果要用xcode进行代码的控制的话,就非常蛋疼了,简直没法用。

但是这也不是什么大问题,只要在 ~/.subversion/servers 中添加几行配置就轻松搞定了 具体操作如下:

(1) 用命令打开servers配置文件:open ~/.subversion/servers

(2) 在servers配置文件的末尾添加:

      ssl-ignore-host-mismatch = true
      ssl-ignore-unknown-ca = true
      ssl-ignore-invalid-date = true 
  • 1
  • 2
  • 3
  • 4

(3) 我是这样搞定的,你试试吧


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM