Answer the question
In order to leave comments, you need to log in
How to set up SSL for subversion?
Hello everyone, I was asked to set up a Subversion server and I started creating, I used guide . But I really feel that it is not complete, firstly I could not do it
svn import -m "testing over https" https://example.com/svn_wombat ~/TEMP/in which the parameters are mixed up in places, I corrected this, but still, when I try to make a commit, I get
svn: E170013: Unable to connect to a repository at URL ' https://cryptosvn.pk/svn_wombat '
svn: E120171: Error running context: An error occured during SSL communication
DAV svn
SVNPath /var/svn-repos/project_wombat
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
SSLRequireSSL
Error running command: svn --non-interactive --config-dir /tmp log --xml --quiet 'file:///var/svn_repos/@' --limit 1
svn: E180001: Unable to connect to a repository at URL 'file:///var/svn_repos/'
svn: E180001: Unable to open an ra_local session to URL
svn: E180001: Unable to open repository 'file:///var/svn_repos/'
failed to create symbolic link '/etc/apache2/conf.d/websvn': No such file or directoryI myself created the conf.d folder and copied the config from there according to the instructions
Answer the question
In order to leave comments, you need to log in
In general, the problem turned out to be in the WebSVN configuration, where I made a mistake in the parameters that the configurator requests. When I asked for a folder for the first time, I specified the path to the repositories, and when I asked for the second time, I also specified this folder, which was not worth doing
If the SVN server needs to be set up in LAN, it is understood that the repository must also be in LAN, that is, you must have the repository itself in the form of a set of files and directories or a dump.
You need to start by putting the repository in the right place by simply copying or deploying from a dump or using the and svnadmin create
commands svnadmin load
. You can dump external storage with the command svnrdump
.
In the created repository, you need to configure the rights, or at least check the conf file of the repository. After that, you can configure Apache or raise a dedicated Subversion server running on the svn://
. I use the second option, so I won't tell you about Apache.
WebSVN can work through direct storage access or as a regular client, i.e. through svn://
orhttps://
. This is customizable by editing it include/config.php
, where there are a lot of examples and explanations in the comments.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question