Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #188 (assigned enhancement)

Opened 6 years ago

Last modified 5 years ago

Support for ssl client certificates

Reported by: anonymous Owned by: alwin
Priority: normal Milestone: not applicable
Component: All Version:
Severity: feature Keywords: client-certificates,certificates
Cc:

Description

Many projects use SSL client certificates to securely authenticate users to https based svn repositories.

Currently kdesvn has no support for ssl client certificates. When accessing the repository the svn client either asks for the path to the certificate and the password or, if already configured, only for the password.

Since kdesvn does not expect this question it simply hangs whenever one accesses a client-certificate protected repository.

Proper handling of the password and path question should not be hard and would enable kdesvn to also handle these types of repositories.

Someone already thought about that in Changeset 129 when placing a ToDo? item there but it seams to got forgotten.

Attachments

Change History

comment:1 Changed 6 years ago by alwin

  • Status changed from new to assigned

You're right, I forgot it.

I have no repository with client certs this moment, will see how to setup this.

comment:2 Changed 6 years ago by alwin

  • Milestone changed from not applicable to 0.14.x

comment:3 Changed 6 years ago by alwin

Hm. Don't understand it. I searched again, kdesvn should ask for it. Do you mean, it doesn't aks for the password? or doesn't ask for the client-cert?

comment:4 Changed 6 years ago by anonymous

Sorry for not answering that long.

It seems to neither work for password nor client-cert.

##########
Client-Cert:


CLI:
$ svn co  https://10.100.0.1/svn
Authentication realm:  https://10.100.0.1:443
Client certificate filename: [Waits for input, pressing CTRL-C]
svn: PROPFIND request failed on '/svn'
svn: PROPFIND of '/svn': SSL negotiation failed: SSL error: sslv3 alert handshake failure ( https://10.100.0.1)


kdesvn (0.13.0):

  • Pressing checkout button, entering URL, press OK
  • Results in Popup "SVN Error" with following message, also displayed in log-window:

PROPFIND request failed on '/svn/'
PROPFIND of '/svn': SSL negotiation failed: SSL error: sslv3 alert handshake failure ( https://10.100.0.1)

##########
Client-Cert:

  • now the certificate is configured in /etc/subversion/servers via the ssl-client-cert-file option

CLI:
$ svn co  https://10.100.0.1/svn
Passphrase for 'path-to-my-cert.p12':


kdesvn (0.13.0):

  • Pressing checkout button, entering URL, press OK
  • kdesvn freezes, has to be killed

comment:5 Changed 6 years ago by alwin

Hm.

May you try switch-off saving passwords in kdewallet?

I'll try to learn how to setup a configuration like you use... or is somewhere a good and easy howto for that? (creating certs, where to store what, how to setup a apache for asking for that certs) - its not my favorite job :)

comment:6 Changed 5 years ago by anonymous

Request for status update: Is this update under active development? Or is it just waiting for attention?

comment:7 follow-up: ↓ 8 Changed 5 years ago by alwin

This moment not, 'cause I can not check or debug it (and a lot other stuff where to do.) And until now I have no scenario like that setup. And I didn't get an answer for my questions.

comment:8 in reply to: ↑ 7 Changed 5 years ago by gustavo@…

Replying to alwin:

This moment not, 'cause I can not check or debug it (and a lot other stuff where to do.) And until now I have no scenario like that setup. And I didn't get an answer for my questions.

Hello, alwin.

I have this problem right now. I can give you access to a testing repository in this scenario for you to make your tests.

Please contact me if you're interested.

Thanks.

comment:9 follow-up: ↓ 10 Changed 5 years ago by kyle@…

A workaround for those waiting on this bug:

Specify 'ssl-client-cert-file' and optionally 'ssl-client-cert-password' in ~/.subversion/servers, and kdesvn will work as you would normally expect, SSL client cert included.

Also, I'll offer the same as gustavo: if you need access to a repo that requires client certs, I can easily set you up a test one.

comment:10 in reply to: ↑ 9 Changed 5 years ago by anonymous

Replying to kyle@averageurl.com:

A workaround for those waiting on this bug:

Specify 'ssl-client-cert-file' and optionally 'ssl-client-cert-password' in ~/.subversion/servers, and kdesvn will work as you would normally expect, SSL client cert included.

Also, I'll offer the same as gustavo: if you need access to a repo that requires client certs, I can easily set you up a test one.

What must the password filename be?

comment:11 Changed 5 years ago by kyle@…

The password parameter is a literal password, it isn't a filename. It is the password, if applicable, to the X509 cert in question.

View

Add a comment

Modify Ticket

Action
as assigned
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.