SVN HTTPS certificate problems

126 views
Skip to first unread message

David Helder

unread,
Apr 24, 2008, 4:53:02 PM4/24/08
to revie...@googlegroups.com
I just upgrade an hour ago and now I'm having trouble connecting the
SVN server.

I get this when I view a diff:
"HTTPS certificate not accepted. Please ensure that the proper
certificate exists in ~/.subversion/auth for the user that reviewboard
is running as."

I deleted www-data's ~/subversion and did an 'svn info' to recreate
the directory. That didn't fix it.

Any ideas? I'm using this with Apache2 and mod_python.

Thanks,
David

--
David Helder - dhe...@gizmolabs.org - http://www.gizmolabs.org/~dhelder

David Helder

unread,
Apr 25, 2008, 4:14:25 PM4/25/08
to revie...@googlegroups.com
The problem was Apache was running with a HOME of /root and it should
have been /var/www. Not sure why this happened, but it's probably a
configuration problem on our end.

Also upgraded from pygments 0.5.1 to 0.9. This fixed another crash
when a certain diff was viewed.

David


On Apr 24, 2008, at 1:53 PM, David Helder wrote:

> I just upgrade an hour ago and now I'm having trouble connecting the
> SVN server.
>
> I get this when I view a diff:
> "HTTPS certificate not accepted. Please ensure that the proper
> certificate exists in ~/.subversion/auth for the user that reviewboard
> is running as."
>
> I deleted www-data's ~/subversion and did an 'svn info' to recreate
> the directory. That didn't fix it.
>
> Any ideas? I'm using this with Apache2 and mod_python.

--

David Trowbridge

unread,
Apr 25, 2008, 4:16:48 PM4/25/08
to revie...@googlegroups.com
I'm glad you figured it out!

-David

Mat Schaffer

unread,
Jun 5, 2008, 10:37:11 AM6/5/08
to reviewboard
How did you find out what HOME was for apache? I tried removing and
getting /var/www/.subversion to recreate itself. But I'm still seeing
the issue.

Thanks,
Mat

Mat Schaffer

unread,
Jun 5, 2008, 11:54:48 AM6/5/08
to reviewboard
I ended up figuring this out by altering the exception message in
svn.py:112 to include os.environ.get("HOME"). Kind of a strange
problem.

It looks like if I use apache2ctl to stop, then start the apache
server it picks up the current user's environment. Whereas /etc/
init.d/apache2 restart restarts the server to use www-data's
environment as expected. Interesting...
-Mat
Reply all
Reply to author
Forward
0 new messages