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

subclipse and Client certificates

From: Henning Schmiedehausen <hps_at_intermeta.de>
Date: 2005-04-25 23:12:34 CEST


I'm using Eclipse 3.0.2 with subclipse 0.9.30 (and I have also the TMate
JavaSVN Library Plugin installed though it seems to be ignored
by Subclipse). I'm on Fedora Core 3 using subversion 1.1.4 with the
javahl bindings compiled using Sun JDK 1.4.2

When I try to share an existing Project by using

"Project" (Right Mouse Button) -> Team -> Share Project

- Select "SVN" from the Share Project Wizard

I get "Project is already configured with SVN repository information"

User: <empty>
Host: https://svn.intermeta.de/svn/opensource/project/trunk

which is all fine. I've checked out the project using the svn command
line client, which has my user certificate installed.

The "Validate Connection on Finish" box is checked.

After pressing "Finish", I get a requester saying

Error: org.tigris.subversion.javahl.ClientException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure)

So it seems that subclipse is ignoring my subversion client settings in ~/.subversion/servers

--- cut ---
ssl-authority-files = /home/henning/.subversion/intermeta.cert

intermeta = svn.intermeta.de

ssl-client-cert-file = /home/henning/.subversion/henning.intermeta.de.cert
ssl-client-cert-password = wonttellyou
--- cut ---

This configuration works fine with the svn command line client and after
importing the henning.intermeta.de.cert file into Firefox, I can also
browse the repository through https.

Subclipse seems to parse the information in the local .svn directories
just fine. The decorators in the Package Explorer show up (e.g. the
project information shows https://... and the files have decorators with
Revision, Date and last user). However all accesses to the remote
repository fail.

How can I get subclipse to use my client certificate?


Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps_at_intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
      RedHat Certified Engineer -- Jakarta Turbine Development
   Linux, Java, perl, Solaris -- Consulting, Training, Engineering
"About 0.7 times the size of The Mall in Washington, D.C."
   - The CIA World fact book about the country size of the Holy See.
Received on Tue Apr 26 07:12:34 2005

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