开发者

Testing environment server with SSL

I have the testing server, that hold the Subversion repository, Redmine for PM and of course - it is my testing enviroment.

The problem is that I want to have all my connections encrypted with SSL. When create the SSL manually, whole bunch of problems are coming up: Redmine doesn't trust the cert, my production server cannot update its working copy without prompting for cert acceptance (which I cant answer because I do not have access to console on the hosted server), every time I checkout testing app (webApp) I need to aprove the untrusted cert (Google Chrome), today my cert expired crushing redmine, which I can't get back on track with new cert... the list of problems goes on.

Therefore, my question is this: is it possible to have my own SSL cert without, at least most 开发者_高级运维of the above problems? Buying one isn't really the solution, because it is "unnecessary expense" if you know what I mean.


For SVN you can use the following command:

svn up --trust-server-cert --non-interactive

I do not know for sure hot to get it into RedMine, however I used always the file://-URL as my redmine and SVN are located on same server(which is also faster and does not need any authorisation).

This switch is only available in SVN 1.6. You can also (self-)sign your certificate and add the signed certificate in subversion's server configuration file:

ssl-authority-files = /path/to/cert-file
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜