[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: What's the current status for subversion replication?

From: Jon Foster <Jon.Foster_at_cabot.co.uk>
Date: Fri, 13 Aug 2010 19:08:31 +0100

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
______________________________________________________________________
Received on 2010-08-13 20:09:13 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.