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

Re: 0.29.0 - PKCS12 Certificates Only?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-09-09 00:32:27 CEST

Tobias Ringström wrote:

> brane@xbc.nu wrote:
>
>> C:\>cd "%APPDATA%\Subversion"
>
>
> Thanks for the tip! Is it possible to use this syntax in the servers
> file as well? Just curious (and not in front of the Win2k machine
> right now). I like to put the CA cert in that directory too to keep
> everything in one place.

You can't expand environment variables in the config files, but you can
do something better. Try something like this in your servers file:

    [DEFAULT]
    certs-path = C:\Documents and Settings\tobias\Application Data\Subversion\certs

then later on you can use variable replacement:

    [global]
    ssl-authorities-file = %(certs-path)s\CAcert.pem

The README.txt file in the config dir explains this syntax; or, you can
read the docs for Python's ConfigParser module.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 9 00:34:43 2003

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.