SVN Commit证书问题

发布于 2024-12-08 09:38:38 字数 825 浏览 0 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

与往事干杯 2024-12-15 09:38:38

有以下三个选项:

  1. 让网络管理员颁发更新/正确的证书(最佳选项)
  2. 将命令更改为 svn commit --non-interactive --trust-server-cert
  3. sudo 到 root 然后更改为 cron 使用的任何用户: su cron_user 然后手动提交。您应该收到上述提示,然后您可以选择选项“p”永久接受。

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.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文