Hello -

I'm having a stubborn CC.NET service authentication issue that at
first glance should be solvable by several posts I've read regarding
running the service as a user that has already accepted a server
certificate from the svn host, but alas I'm still having issues. Let
me try to explain my setup (not complicated) so someone can help me
troubleshoot possibly:

1. CruiseControl.Net host:
  a. Windows 2003 Enterprise
  b. ccservice.exe running as my logged in user (let's call him
'mydomain\sean')
  c. Cygwin svn.exe client being used to access svn repository

2. SVN repository:
  a. UNIX machine (FreeBSD probably, maybe Linux), IT maintained,
accessible via an http/ssl connection, let's call it "https://
host.domain.com/path/to/root"
  b. I have accesss to the above repository via the user "sean" which
is supposed to map to my domain user account above (NOTE: only "sean"
is accepted by the svn server, 'mydomain\sean' does not work for svn
authentication, not surprised as winbind is probably used)

OK, that's the setup, let me explain the problem I'm having:

1. I have been able to get a simple cc.net job to detect changes to
the repository and run via the commandline ccnet.exe. I was only able
to do this after manually running an svn.exe command, being prompted
to accept and accepting the server certificate. I see that I now have
a %HOMEPATH%\.subversion\auth\ directory with files in both svn.simple
and svn.ssl.server. These, I'm assuming, are what svn saved off for my
permanent acceptance of the svn server certificates. Again, running my
cc.net job from command line (and manually running SVN commands) works
great.

2. When I kill the command line executable, then go and run the
service from services.msc (yes, I have it configured to run as the
same user I'm logged in as,not LocalSystem) I get the following error

2008-09-29 15:49:45,121 [CORE Trunk:DEBUG] svn: OPTIONS of 'https://
host.domain.com/path/to/root': Server certificate verification failed:
issuer is not trusted (https://host.domain.com)
2008-09-29 15:49:45,151 [CORE Trunk:ERROR] Exception: Source control
operation failed: svn: OPTIONS of 'https://host.domain.com/path/to/
root': Server certificate verification failed: issuer is not trusted
('https://host.domain.com')


For some reason the service running under my account name is not see
those files down in %HOMEPATH%\.subversion\auth\. (guessing here) I
found another Subversion directory down in %HOMEPATH%\Application Data
\Subversion so I copied the auth directory and subdirectories down
into there as well, but no change after services restarts. Yes, I've
even logged out, rebooted, no change.


Anyone have any idea why the service running under the same domain
user that I've already authenticated to SVN with, and can run
ccnet.exe with, will not authenticate with svn via https?

I'm spent half the day on this one so I better ask for some help.

Thanks in advance.
Sean

Reply via email to