运行ANT脚本的目标时出现错误。错误消息说“服务器证书验证失败”。请帮助如何消除此问题。我在Windows XP中工作。服务器证书验证失败:发布者不可信
C:\apache-ant-1.8.1>ant checkout
Buildfile: C:\Program Files\Java\apache-ant-1.8.1\build.xml
checkout:
[svn] Using command line interface
Svn : Checking out a working copy from a repository :
co -r HEAD https://col.../trunk C:\ant-1.8.1\Test_Checkout
--username 69 --password *******--non-interactive
svn: PROPFIND request failed on '/svn/asia-pac-financials/trunk'
svn: PROPFIND of '/sv.../trunk':
Server certificate verification failed:
issuer is not trusted (https://col....com)
BUILD FAILED
C:\apache-ant-1.8.1\build.xml:16: Can't checkout
Total time: 3 seconds
这工作正常...现在问题得到解决。非常感谢。 – Shaun
我在这里也为PHP添加了一个示例脚本:http://www.php.net/manual/en/function.svn-auth-set-parameter.php#104300针对相同的问题。 – powtac
而不是手动检查我只是从终端(Mac)/命令行(Win)运行'svn list https:// your.repository.url'以获得永久接受证书的选项。 – Andrew