svn 自动更新勾子总是报错

post-commit hook failed (exit code 1) with output:
Error validating server certificate for 'https://localhost: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: PC-201203021053
- Valid: from Mon, 09 Jul 2012 21:42:45 GMT until Thu, 07 Jul 2022 21:42:45 GMT
- Issuer: BJ, BJ, CN, BH, BH
- Fingerprint: 87:d8:05:9d:ab:81:b1:59:ed:ca:7b:5b:7d:15:d5:66:d4:79:cc:4e
(R)eject, accept (t)emporarily or accept (p)ermanently? svn: E175002: Unable to connect to a repository at URL 'https://localhost/svn/taidu'
svn: E175002: OPTIONS of 'https://localhost/svn/taidu': Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted (https://localhost)

你更新的服务器是https协议的,要你接受授权文件。
因为不知道你

你可以在hook运行的服务器上手工执行一次,选择 (p)ermanently,一般来说,以后再执行就不会再问,以后这个钩子就可以执行下去了。追问

请问, 如何手工执行?

追答

登陆到你的服务器上,你的钩子如果是.bat或者shell,打开一个命令行窗口,cd到目录里,直接执行就是了

温馨提示:内容为网友见解,仅供参考
第1个回答  2012-07-12
...
相似回答