服务器证书验证失败:发行人不被信任 [英] Server certificate verification failed: issuer is not trusted
问题描述
我运行Ant脚本的目标时,得到下面的错误。错误消息说,服务器证书验证失败。请帮助如何删除这个问题。我在Windows XP中工作。
C:\\ Apache的ANT-1.8.1>蚂蚁结账
构建文件:C:\\ Program Files文件\\的Java \\ Apache的ANT-1.8.1 \\ build.xml文件查看:
[SVN]使用命令行界面
SVN:检查出从存储库工作副本:
联合-r HEAD的https://col.../trunk C:\\ ANT-1.8.1 \\ Test_Checkout
--username 69 --password ******* - 非交互式
SVN:PROPFIND请求失败的'/ SVN /亚太地区,金融/干线
SVN:/sv.../trunk'的PROPFIND:
服务器证书验证失败:
发行人不被信任(HTTPS://col....com)构建失败
C:\\ Apache的ANT-1.8.1 \\ build.xml文件:16:无法结帐总时间:3秒
可以尝试运行 svn签
键手动您的网址 HTTPS: // yoururl /后备箱C:\\ ANT-1.8.1 \\ Test_Checkout使用命令行
接受证书。
或者像@AndrewSpear说下面
而不是手动检查跑得 SVN列表的https://your.repository.url
从终端(苹果机)/命令行(运)获得选项,以接受证书永久
SVN会要求您进行确认。永久接受它。
之后,这应该从Ant脚本后续请求工作。
I am getting below error when running a target of ANT script. Error message saying that "server certificate verification is failed". Please help how to remove this problem. I am working in 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
can you try to run svn checkout
once manually to your URL https://yoururl/trunk C:\ant-1.8.1\Test_Checkout
using command line
and accept certificate.
Or as @AndrewSpear says below
Rather than checking out manually run svn list https://your.repository.url
from Terminal (Mac) / Command Line (Win) to get the option to accept the certificate permanently
svn will ask you for confirmation. accept it permanently.
After that this should work for subsequent requests from ant script.
这篇关于服务器证书验证失败:发行人不被信任的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!