About configuring Apache + SVN 1.5 + SSL

Source: Internet
Author: User
Tags collabnet subversion
1. Since the CollabNetSubversion-server-1.5.0-23.win32.exe contains Apache + SSL, the installation process is very simple.

2. Configuration

HTTP. conf
______________________________________________________
Listen 443.
...
Loadmodule ssl_module modules/mod_ssl.so
Loadmodule dav_module modules/mod_dav.so
Loadmodule dav_svn_module modules/mod_dav_svn.so
Loadmodule authz_svn_module modules/mod_authz_svn.so
...
<Virtualhost _ default _: 443>
Sslengine on
Sslcertificatefile CONF/SSL/server. CRT
Sslcertificatekeyfile CONF/SSL/server. Key
</Virtualhost>
...
<Location/SVN>
Dav SVN
Svnparentpath X: \ subversion \ Repository
Authtype basic
Authname "repository server (e2tox )"
Authuserfile "X: \ subversion \ passwords. Auth"
Authzsvnaccessfile "X: \ subversion \ Access. Auth"
Require valid-user
Sslrequiressl
</Location>
........................................ ........................................ .................

Passwords. auth
______________________________________________________
Username: Password
Note: You can also use plain text.
........................................ ........................................ .................

Access. auth
______________________________________________________
[Groups]
Developers = user1, user2, user3
Docs = doc1

[Repo1:/trunk]
@ Developers = RW
@ Docs = r

[Repo2:/trunk]
@ Developers = RW
@ Docs = r

Note: The X: \ subversion \ repository directory contains multiple version libraries: repo1 and repo2.
........................................ ........................................ .................

Server. CRT and server. Key Generation methods are similarArticleFor more information, see Google.
Note that if
[Error] init: sslpassphrasedialog builtin is not supported on Win32 (key file C:/program files/collabnet Subversion server/httpd/CONF/server. Key)

This is because the sslpassphrasedialog dialog box (Enter Password dialog box) cannot be displayed under Win32.

The solution is to leave the challenge password blank while creating the certificate.

End

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.