Hi Varun, Huh, it's odd that it's trying to use your home directory. To generate that string, Review Board figures out what "~" points to, and in your case, it's your own home directory. You said this was Apache before? Is it an out-of-the-box install? Which distro? Mod_Python or FastCGI?
We're looking at making this problem go away by making it easy to download and verify certificates as part of the repository setup process, but I don't have an ETA just yet on it. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Sep 16, 2009 at 5:44 PM, Varun Soundararajan <s.va...@gmail.com>wrote: > > Hi Christian, > > So as you have explained here, I did > sudo -u www-data > > it led me to /var/www when i typed cd > now I did svn co <https rep url> > it asked me to accept cert permantnety to which i typed p > before that I created .subversion directory in /var/www and chowned to > www-data > I also created the directory for the rep url dir and chowned so that > the local copy can be created (otherwise it seems that www-data has no > permission to create any file in /var/www > > Now when I give my diff file and path and click create request, it > says - HTTPS certificate not accepted. Please ensure that the proper > certificate exists in /home/varun/.subversion/auth for the user that > reviewboard is running as. > > The confusion here is apache runs as www-data, but the error seems to > be printing saying that its trying to access /home/varun/.. path. I > also chmoded the entire .subversion directory in /home/ > varun/.subversion and I still dont see reviewboard picking those > certs. (I would practically want reviewboard to use certs in > ~/.subversion directory of the user www-data). > > > Is there something that I am missing? > > > Thanks > Varun > > On Aug 25, 6:30 am, Christian Hammond <chip...@chipx86.com> wrote: > > Hi, > > > > The easiest way to work around this is if you have read-only access to > the > > repository over http. If you do, then set that read-only HTTP URL as your > > Path in the repository configuration, and set your HTTPS URL as the > Mirror > > Path. > > > > If not, then it gets a little more tricky. Essentially (and this may vary > a > > bit between installs on different distros), you'll need to sudo to the > > Apache user, using its home directory and environment variables, and then > do > > an svn checkout of your repository somewhere. This should store the > > certificate where the Apache user can get to it. > > > > We're looking into making this work in a much smoother manner in a future > > release without having to use any workarounds. > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.review-board.org > > VMware, Inc. -http://www.vmware.com > > > > On Tue, Aug 25, 2009 at 3:16 AM, Pubudu Rathnayake <dmpub...@gmail.com > >wrote: > > > > > Hi, > > > > > when i tried to make a new review request ,i got the following > message, > > > HTTPS certificate not accepted. Please ensure that the proper > certificate > > > exists in ~/.subversion/auth for the user that reviewboard is running > as. > > > Any advice how to diagnose it is highly appreciated. > > > > > Regards, > > > > > Pubudu > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~----------~----~----~----~------~----~------~--~---