Steps to enable it:
- create self-signed certificate http://www.tc.umn.edu/~brams006/selfsign.html or http://developer.apple.com/internet/serverside/modssl.html
 - modify the /etc/apache2/httpd.conf to add the below:
 
LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so
- enable httpd-ssl.conf by removing the comment from the following line in /etc/apache2/httpd.conf:
 
- Add the following line at the end of file /etc/apache2/extra/httpd-ssl.conf but before the </VirtualHost>
 
  DAV svn
  SVNPath /opt/repos
  AuthType Basic
  AuthName "Authorization Realm"
  AuthUserFile /etc/svn-auth-file
  Require valid-user
- create the /etc/svn-auth-file using the following command to create user id. It will prompt for password twice
 
- restart apache by
 
- mkdir the subversion repository, generate the first repository and change ownership of the folder to match with apache user
 
svnadmin create /opt/repos
chown -R www:www /opt/repos
- test the access to subversion server using the https://127.0.0.1/svn/
 - try with svn co https://127.0.0.1/svn/trunk --username