subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Foster" <Jon.Fos...@cabot.co.uk>
Subject RE: What's the current status for subversion replication?
Date Fri, 13 Aug 2010 18:08:31 GMT
Steven Woody wrote:
> Thanks everyone, and, can I get know if the replication/write-through
> things support https?

Yes, they do.

> The master that I want to mirror is using https

On the mirror, you need the appropriate Apache modules and
configuration.
Make sure you have mod_proxy and mod_ssl loaded as well as the normal
Subversion modules.

The proxy-specific config I've used is:

<VirtualHost ...>
  ...
  SSLProxyEngine on
  SSLProxyCACertificateFile /some/local/path/master_cert.pem
  SSLProxyVerify require
  SSLProxyVerifyDepth 10

  <Location /svn>
    ... standard SVN config omitted ...
    SVNMasterURI https://masterserver.mysite.example/svn
  </Location>
</VirtualHost>

The path /some/local/path/master_cert.pem should contain the SSL
certificate for your master SVN server.  To create it, I just browsed to
the master SVN server using a web browser and saved the SSL certificate
to a file.  (In Firefox: Navigate to SSL page, click padlock in
bottom-right corner of browser, "View Certificate", "Details",
"Export").

Useful reference:
http://httpd.apache.org/docs/2.2/mod/mod_ssl.html

Kind regards,

Jon


**********************************************************************
This email and its attachments may be confidential and are intended solely for the use of
the individual to whom it is addressed. Any views or opinions expressed are solely those of
the author and do not necessarily represent those of Cabot Communications Ltd.

If you are not the intended recipient of this email and its attachments, you must take no
action based upon them, nor must you copy or show them to anyone.

Cabot Communications Limited
Verona House, Filwood Road, Bristol BS16 3RY, UK
+44 (0) 1179584232

Co. Registered in England number 02817269

Please contact the sender if you believe you have received this email in error.

**********************************************************************


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Mime
View raw message