apache_https
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
apache_https [2008/01/29 13:17] – created damir | apache_https [2008/01/29 14:26] (current) – removed damir | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | ||
- | Hi Guys, | ||
- | I got my latest SVN 1.3.2 working on FC5 with Apache 2.2.0 over SSL, | ||
- | so decided to just share the same with all. | ||
- | Here we go, | ||
- | 1) To install SVN do | ||
- | yum install subversion. | ||
- | |||
- | 2) To create a SSL certificate for Apache do - | ||
- | Step one - create the key and request: | ||
- | openssl req -new > new.cert.csr | ||
- | |||
- | Step two - remove the passphrase from the key (optional): | ||
- | openssl rsa -in privkey.pem -out new.cert.key | ||
- | |||
- | Step three - convert request into signed cert: | ||
- | openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -days 1024 | ||
- | place the keys to following locations & edit the / | ||
- | |||
- | SSLCertificateFile / | ||
- | SSLCertificateKeyFile / | ||
- | |||
- | Test the certificate. | ||
- | |||
- | 3) create / | ||
- | |||
- | chown -R apache: | ||
- | svnadmin create / | ||
- | svn import / | ||
- | svn checkout file:/// | ||
- | |||
- | 4) Edit httpd.conf as follows | ||
- | |||
- | LoadModule dav_svn_module modules/ | ||
- | LoadModule dav_module modules/ | ||
- | LoadModule authz_svn_module modules/ | ||
- | |||
- | < | ||
- | DAV svn | ||
- | SVNPath / | ||
- | # our access control policy | ||
- | AuthzSVNAccessFile / | ||
- | #how to authenticate the users | ||
- | AuthType Basic | ||
- | AuthName " | ||
- | AuthUserFile / | ||
- | # only authenticated users access the SVN | ||
- | Require valid-user | ||
- | SSLRequireSSL | ||
- | </ | ||
- | |||
- | </ |
apache_https.1201609033.txt.gz · Last modified: 2008/01/29 13:17 by damir