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) 我是這樣搞定的,你試試吧