2649: HTTPS certificate not accepted. Please ensure that the proper certificate exists in /var/www/reviewboard/data/.subversion/auth for the user that reviewboard is running as.

gus****@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
Feb. 4, 2014
What version are you running?

1.6.1
What's the URL of the page containing the problem?

reviewboard.paraccel.com(not publicly accessible)

What steps will reproduce the problem?
1.Login and create a new submission
2.
3.

What is the expected output? What do you see instead?

expecting success statement, but receiving:

HTTPS certificate not accepted. Please ensure that the proper certificate exists in /var/www/reviewboard/data/.subversion/auth for the user that reviewboard is running as.

What operating system are you using? What browser?

Happens on windows, osx, and linux. Chrome and firefox have been used.

Please provide any additional information below.

I enabled logging and this is all I see when I try to post:

2012-06-25 11:01:38,759 - DEBUG - DiffParser.parse: Beginning parse of diff, size = 3636
2012-06-25 11:01:38,764 - DEBUG - DiffParser.parse: Finished parsing diff.
2012-06-25 11:05:28,933 - DEBUG - DiffParser.parse: Beginning parse of diff, size = 3636
2012-06-25 11:05:28,938 - DEBUG - DiffParser.parse: Finished parsing diff.
2012-06-25 11:31:19,402 - DEBUG - DiffParser.parse: Beginning parse of diff, size = 3636
2012-06-25 11:31:19,405 - DEBUG - DiffParser.parse: Finished parsing diff.


Also, this was fine until about a week. We had to renew our certificate on the SVN server. I recreated this and then accepted  the certificate for both the www-data(apache) and root users as these are the 2 users that can run reviewboard.

Thanks!
chipx86
#1 chipx86
Review Board doesn't use the system accounts' home directories. Instead, it supplies its own. In your case, this is in /var/www/reviewboard/data. Make sure any certificates are updated under there as well.
  • +SetupIssue
#2 gus****@gmai***** (Google Code) (Is this you? Claim this profile.)
Hi,

Thanks for getting back to me. I copied the certificate from the www-data users ~/.subversion/auth/ directory into /var/www/reviewboard/data/.subversion/auth/. I then restarted apache. Same error. Any thoughts?

Thanks!

Matt
#3 gus****@gmai***** (Google Code) (Is this you? Claim this profile.)
Hi There,

Has anyone had a chance to take a look into this?

Thanks!

Matt

On Jun 25, 2012, at 12:05 PM, Matt Diener wrote:
#4 gus****@gmai***** (Google Code) (Is this you? Claim this profile.)
Hi There,

This is beginning to seriously impede our business. We enjoy this product, but if we are unable to get support, then we will need to start looking into a different solution. Can someone please get back to me on this ASAP.

Thanks!

Matt


On Jun 29, 2012, at 9:18 AM, Matt Diener wrote:
chipx86
#5 chipx86
My apologies, this has definitely slipped past me this week.

First thing to check is what happens if you try from a terminal with that directory as your .subversion directory. For that, try;

    $ sudo -u www-data -s
    $ export HOME=/var/www/reviewboard
    $ <svn command here>

If that's working, it's some issue with PySVN. We'll know a bit more at that point. In the meantime, I'll poke around and see if I can figure out anything here.
  • -SetupIssue
    +Confirmed
  • -Type-Defect
    -Priority-Medium
    +Type-Support
    +Priority-Critical
chipx86
#6 chipx86
Sorry, HOME in the above should have been /var/www/reviewboard/data/.

Can you also check if you have anything in your other ~/.subversion/servers file that relates to the cert?

Looking at another past ticket for a similar issue, the user ended up having the following in /var/www/reviewboard/data/.subversion/servers:

    [groups]
    mydomain = *.mydomain.com

    [mydomain]
    ssl-client-cert-file = /var/www/reviewboard/data/.subversion/auth/mycert
    ssl-client-cert-password = mypassword

Generally, if you have a local setup that works for a user, you should just be able to copy that .subversion directory into RB's data directory and it *should* work, though.
chipx86
#7 chipx86
  • +chipx86
#8 gus****@gmai***** (Google Code) (Is this you? Claim this profile.)
Hi Chip!

Thanks for the assist. I copied over a different .subversion directory from a different user and I started getting an error about logging into the SCM login. I then went into the database settings and provided the password for the user of the repository. All seems to be working great now! Have a great day and if you're in the states, then have great holiday as well!

Thanks again!

Matt
david
#9 david
  • +Component-SCMTools
david
#10 david
  • -Confirmed
    +SetupIssue