Unable to add repository to ReviewBoard

247 views
Skip to first unread message

ageha67

unread,
Jun 17, 2015, 2:13:35 AM6/17/15
to revie...@googlegroups.com
Hi All,

I setup the Review Board 2.0.15 on Window (Bitnami Version) and I can checkout my code at my computer(use https). My SVN server is setuped on another PC. When I add repository using https, I get blow error :

Unable to connect to a repository at URL 'https://XXX.XXX.XXX.XXX/svn/project' OPTIONS of 'https://XXX.XXX.XXX.XXX/svn/project': Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted (https://XXX.XXX.XXX.XXX)

Please help me!

Christian Hammond

unread,
Jun 17, 2015, 4:30:47 PM6/17/15
to revie...@googlegroups.com, ageha67
Hi,

It sounds like your SSL certificate is expecting to serve one domain, but is being accessed as a different domain. You'll need to use the one specified for the SSL certificate. That is, if the cert is for "svnserver.mydomain.com", and you're configuring Review Board to access it as just "svnserver" or "svnserver.mydomain" or "some-other-name", it won't work, and you will need to use "svnserver.mydomain.com" instead.

Not knowing the domain you're using or the repository configuration, I can't really be of too much assistance with specifics there. I hope that helps, though.

Christian

--
Christian Hammond - chri...@beanbaginc.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com
> --
> Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups "reviewboard"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

ageha67

unread,
Jun 20, 2015, 10:35:28 PM6/20/15
to revie...@googlegroups.com, chri...@beanbaginc.com
Christian

Thanks for your reply.
I use IP URL to connect my svn server. The XXX.XXX.XXX.XXX is my svn server's IP. I also install TortoiseSVN at my computer and I can checkout my code from this url. Does ReviewBoard and SVN server need to be installed at the same computer?

ageha67


在 2015年6月18日星期四 UTC+8上午4:30:47,Christian Hammond写道:

ageha67

unread,
Jun 22, 2015, 9:31:41 PM6/22/15
to revie...@googlegroups.com, chri...@beanbaginc.com
Hi,

I try to modify the file "D:\Bitnami\reviewboard-2.0.15-0\apps\reviewboard\rb-sites\reviewboard\data\.subversion\servers", add a line as below:

ssl-authority-files = auth/svn.ssl.server/server.pem

Then I copy the server.pem file from my VisualSVN Server's path "D:\Program Files\VisualSVN Server\certs\server.pem" to the path "D:\Bitnami\reviewboard-2.0.15-0\apps\reviewboard\rb-sites\reviewboard\data\.subversion\auth\svn.ssl.server\", and I restart the reviewboard apache. I try again to add a repository and click the save button, reviewboard reponse a new error information as below:
Unable to connect to a repository at URL ''https://XXX.XXX.XXX.XXX/svn/project'' Invalid config: unable to load certificate file 'auth\svn.ssl.server\server.pem'

So I think maybe I should get the SVN Server's auth file (some file like the server.pem), and add it to the reviewboard path above. But I don't know how to get this auth file. Can you give me more advise?

Thanks.

ageha67

在 2015年6月18日星期四 UTC+8上午4:30:47,Christian Hammond写道:
Hi,
Reply all
Reply to author
Forward
0 new messages