can you try to run svn checkout once manually at your https://yoururl/trunk C:\ant-1.8.1\Test_Checkout using the command line and accept the certificate.
Or as @AndrewSpear says below
Instead of manually checking the start of the svn list https://your.repository.url from the terminal (Mac) / command line (Win) to be able to constantly accept the certificate
svn will ask you to confirm. take it on an ongoing basis.
After that, this should work for subsequent requests from the ant script.
JoseK Jun 30 '10 at 8:52 2010-06-30 08:52
source share