[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Trusting server certs and --non-interactive SSL access

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: 2005-09-23 21:08:23 CEST

Assuming that I haven't already permanently trusted a SVN server accessed
over ra_dav/SSL (and haven't manipulated ~/.subversion/auth/), I see:

$ svn --non-interactive ls --password=*** https://svn.collab.net/repos/svn/
subversion/libsvn_ra_dav/util.c:826: (apr_err=175002)
svn: PROPFIND request failed on '/repos/svn/trunk'
subversion/libsvn_ra_dav/util.c:296: (apr_err=175002)
svn: PROPFIND of '/repos/svn/trunk': Server certificate verification failed: issuer is not trusted (https://svn.collab.net)

svn is apparently taking the --non-interactive as an indication that it
should fail when the cert server hasn't already been accepted as trusted.

I have a situation where I _know_ the server's cert is trusted, and the
invocation of svn is programmatic (thus the --non-interactive). Any
recommendations on avoiding the fail-fast behavior?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 23 21:13:52 2005

This is an archived mail posted to the Subversion Dev mailing list.