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

Re: [TSVN] https + p12 certificate

From: Hermann Voßeler <hermann.vosseler_at_baaderbank.de>
Date: 2004-09-29 17:38:04 CEST

c_inconnu1 wrote:
> ...accessed through Apache2+SSL. The server and the client must have
> a certificate. The client certificate format is PKCS12. I imported it
> in Mozilla and can see the repository.
>
> For example, when i use Tortoise RepoBrowser : - url =
> https://myserver/svn/xxx/ - open client certificate file = myCert.p12
> - authentication password = XXXXX
>
> It works but even if i check "Save password" I have to type it again
> and again every time. Is there a way to save the p12 and the pwd ???
>

Hi,

we have the same setup here. You can configuire your local svn client
to use a certain p12-file and PW for a given server.
Subversion has a "local configuration area". On Unix systems, this is
to be found at ~/.subversion On Windows, it is located in your profile
area. The path is something like
C:\Dokumente und Einstellungen\<username>\Anwendungsdaten\Subversion
(This is on german locale. Sorry, I don't know the path for other locales)

In this configuration area, you find the files "config" and "servers"
Have a look at the "servers" file. There are some examples in it.
You can do the following:

[groups]
mygroup = *myserver/svn*

[mygroup]
ssl-client-cert-file = P:\Path_to_certfile\myCert.p12
ssl-client-cert-password = XXXXX

Your svn client will use this info on each URL that matches
"*myserver/svn*"

To check if it works, enter on cmd line

snv list https://myserver/svn/xxx/

(of course, you need a svn commandline client for this)
The first time, you will be prompted if you want to trust
this server. On subsequent invocations, Subversion should do
the list without any further questions.

-- 
hope this helps
Hermann Vosseler
---------------------------------------------------------------
Hermann Voßeler
Baader Wertpapierhandelsbank AG /IT
Weihenstephaner Straße 4
D-85716 Unterschleißheim
eMail: hermann.vosseler@baaderbank.de
Internet: www.baaderbank.de
---------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 29 18:41:09 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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