SVN Commit证书问题
我有一个 cronjob,每五分钟提交一些文件。但是,它不再起作用了。它打印
Error validating server certificate for 'https://xx.xx.xx.xx:443':
- The certificate hostname does not match.
Certificate information:
- Hostname: *.xxxtest.com
- Valid: from Jun 2 18:45:22 2010 GMT until Jul 4 15:59:29 2012 GMT
- Issuer: Equifax Secure Certificate Authority, Equifax, US
- Fingerprint: c1:34:e1:1c:2b:xx:2d:52:2a:xx:47:f9:5c:31:ad:fc:dd:02:db:xx
(R)eject, accept (t)emporarily or accept (p)ermanently? svn: Commit failed (details follow):
svn: OPTIONS of 'https://xx.xx.xx.xx/svn/Kavrakoglu/trunk/CalismaAlani/Dataset/tjmkld874y2bfdb9149884yhndmkg5mk/VTIT080200BY13': Server certificate verification failed: certificate issued for a different hostname (https://xx.xx.xx.xx)
当我手动运行此脚本时,它没有给出错误并成功提交。导致此问题的原因可能是什么以及如何解决?谢谢
I have a cronjob which commits some files every five minutes. However, it is not working anymore. It prints
Error validating server certificate for 'https://xx.xx.xx.xx:443':
- The certificate hostname does not match.
Certificate information:
- Hostname: *.xxxtest.com
- Valid: from Jun 2 18:45:22 2010 GMT until Jul 4 15:59:29 2012 GMT
- Issuer: Equifax Secure Certificate Authority, Equifax, US
- Fingerprint: c1:34:e1:1c:2b:xx:2d:52:2a:xx:47:f9:5c:31:ad:fc:dd:02:db:xx
(R)eject, accept (t)emporarily or accept (p)ermanently? svn: Commit failed (details follow):
svn: OPTIONS of 'https://xx.xx.xx.xx/svn/Kavrakoglu/trunk/CalismaAlani/Dataset/tjmkld874y2bfdb9149884yhndmkg5mk/VTIT080200BY13': Server certificate verification failed: certificate issued for a different hostname (https://xx.xx.xx.xx)
When I run this script manually, it gives no error and commits succesfully. What may be the cause of this problem and how can I solve it? Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有以下三个选项:
su cron_user
然后手动提交。您应该收到上述提示,然后您可以选择选项“p”永久接受。There are three options:
svn commit --non-interactive --trust-server-cert
su cron_user
and then do a commit by hand. You should get the above prompt and then you can choose option 'p' to accept permanently.