5

I'm running into a problem with the Redmine Bitnami stack intaller on Windows Server 2003. Setting up my project, I'm trying to add a remote subversion repo to the project, but it's erroring out. A little googling led me to some discussions on the Redmine site that leads me to believe the issue is caused by the fact that the repo I'm accessing is SSL enabled and the cert needs to be accepted before I can connect.

All the solutions are geared toward Unix/Linux though (i.e. simply su to the redmine user, run svn command line tool and accept the cert.) but I can't do that because I'm running Windows.

How can I store the SVN cert for the SYSTEM user on Windows?

Mihai Limbăşan
  • 3,071
  • 22
  • 19
Brian
  • 925
  • 2
  • 12
  • 20

4 Answers4

1

In my case I wasn't accessing an SSL repository, but the problem seemed similar. Reading this post I got the answer:

http://www.redmine.org/boards/2/topics/3968

"The trick was to go to the services panel of windows and to allow the mongrel service to interact with the desktop. (It was running on the local system account )."

Gonzalo
  • 141
  • 3
1

I am running into the same issue as you.

If your not using remote desktop this blog post has a fairly eloquent solution.

sc create testsvc binpath= "cmd /K start" type= own type= interact

sc start testsvc

The preceding will apparently kick off a command line as the local system. However this doesn't work over remote desktop (it kicks off the process but the command prompt isn't displayed).

For a more direct approach you can use,

sc create testsvc binpath= "svn info --username [username] --password [password] --non-interactive --trust-server-cert [svnserver]" type= own type= interact

sc start testsvc
James McMahon
  • 763
  • 2
  • 8
  • 16
  • sub question, http://serverfault.com/questions/37929/how-do-you-accept-an-ssl-certificate-through-the-svn-command-line. If I can figure out how to accept the certificate in one command, I can pull this off through remote desktop. – James McMahon Jul 08 '09 at 20:51
  • Note, even after using what I've posted above I am still getting the "The entry or revision was not found in the repository." error. – James McMahon Jul 09 '09 at 15:37
0

Try importing it in the local machine store.

Massimo
  • 68,714
  • 56
  • 196
  • 319
0

Not sure if this would work, but what if you install a SVN client (Tortoise) and accept the certificate(s) permanently there, whilst checking out?

Lazlow
  • 383
  • 3
  • 10
  • 1
    I tried that with the command line client. The problem was that mongrel was running as the SYSTEM user, and the credentials are saved for the user that the client is running as. This is why I asked how I could store the credentials for the SYSTEM user. At any rate, I couldn't resolve this problem and wound up just intalling all the components seperately. It took a while, but I wound up learning a little about mongrel/ruby installs on Windows and had a lot less trouble than trying to fix bitnami's installer. – Brian Jun 21 '09 at 14:42