开发者

SVN Commit certificate issue

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 f开发者_如何学Collow):
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


There are three options:

  1. Get your network admins to issue an updated/correct certificate (the best option)
  2. Change the command to svn commit --non-interactive --trust-server-cert
  3. Sudo to root then change to whatever user is used by cron: 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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜