1430: Cannot store local certificate for HTTPS SVN when SVN running as NETWORK SERVICE on WIndows

caffeina********@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 4, 2010
What version are you running?
1.1 alpha

What's the URL of the page containing the problem?
admin/db/scmtools/repository/add/

What steps will reproduce the problem?
When running a secure SVN server using a system account like LocalSystem or
NETWORK SERVICE, there is no home directory to store the local certificate.
 You get: Unable to create directory ~/.subversion, which is needed for the
Subversion configuration. Create this directory and set the web server's
user as the the owner.

Now creating a local admin acct should work but here at NASA/JSC the
systems are pretty locked down and we don't have a lot of control when it
comes to accounts and they are very security paranoid.

What is needed is some way to configure where this is stored (and there may
be I just don't know about it)


What operating system are you using? What browser?
Windows XP, Firefox

Please provide any additional information below.
chipx86
#1 chipx86
The issue is that we don't have much control over these directories. We call into
libsvn, which writes in ~/.subversion. So we're basically limited to what svn can do
as a service. As far as what that is, I don't know.

What you should be able to do, however, is modify your Apache configuration to set
HOME to be some other directory. You should be able to do this with a SetEnv
directive in the Apache configuration for Review Board. Just specify a directory
where the .subversion directory can be stored and restart the web server.
#2 caffeina********@gmai***** (Google Code) (Is this you? Claim this profile.)
Thanks for the tip, I will try it.
david
#3 david
I don't think there's anything we can do here.
  • +WontFix
#4 caffeina********@gmai***** (Google Code) (Is this you? Claim this profile.)
The HOME environment variable suggestion did work so I would suggest just modifying
the installation instructions for us unfortunates who are forced to use windows.