Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
Just out of curiosity, for your manual windows install of redmine did you use IIS or Apache? –  James McMahon Jul 9 '09 at 14:41
    
Apache. I wound up using this little book from O'Reilly for the setup. my.safaribooksonline.com/059652854X –  Brian Jul 13 '09 at 1:22

4 Answers 4

up vote 1 down vote accepted

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
share|improve this answer
    
sub question, serverfault.com/questions/37929/…. If I can figure out how to accept the certificate in one command, I can pull this off through remote desktop. –  James McMahon Jul 8 '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 9 '09 at 15:37

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 )."

share|improve this answer

Try importing it in the local machine store.

share|improve this answer

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?

share|improve this answer
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.